public synchronized String generateImplicitFlowURI(RedditScopeBuilder scopeBuilder) {
        
        // Set parameters
        Map<String, String> params = new HashMap<String, String>();
        params.put(PARAM_CLIENT_ID, redditApp.getClientID());
        params.put(PARAM_RESPONSE_TYPE, "token");
        params.put(PARAM_STATE, UUID.randomUUID().toString());
        params.put(PARAM_REDIRECT_URI, redditApp.getRedirectURI());
        params.put(PARAM_SCOPE, scopeBuilder.build());
        
        // Create URI
        return REDDIT_AUTHORIZE + KeyValueFormatter.format(params, true);
        
    }
public synchronized String generateImplicitFlowURI(RedditScopeBuilder scopeBuilder) {
        
        
        Map<String, String> params = new HashMap<String, String>();
        params.put(PARAM_CLIENT_ID, redditApp.getClientID());
        params.put(PARAM_RESPONSE_TYPE, "token");
        params.put(PARAM_STATE, UUID.randomUUID().toString());
        params.put(PARAM_REDIRECT_URI, redditApp.getRedirectURI());
        params.put(PARAM_SCOPE, scopeBuilder.build());
        
        
        return REDDIT_AUTHORIZE + KeyValueFormatter.format(params, true);
        
    }
public synchronized String generateImplicitFlowURI ( RedditScopeBuilder scopeBuilder ) { // Set parameters Map < String , String > params = new HashMap < String , String > ( ) ; params . put ( PARAM_CLIENT_ID , redditApp . getClientID ( ) ) ; params . put ( PARAM_RESPONSE_TYPE , "token" ) ; params . put ( PARAM_STATE , UUID . randomUUID ( ) . toString ( ) ) ; params . put ( PARAM_REDIRECT_URI , redditApp . getRedirectURI ( ) ) ; params . put ( PARAM_SCOPE , scopeBuilder . build ( ) ) ; // Create URI return REDDIT_AUTHORIZE + KeyValueFormatter . format ( params , true ) ; }
Generate the <i>implicit flow</i> Uniform Resource Locator (URI) for a
reddit user to authorize your application.<br>
<br>
The user will, after authorization, receive token information. This can be turned into
a <i>RedditToken</i> using {@link #tokenFromInfo(String, String, long, String)}.

@param scopeBuilder Authorization scope builder (must not be <i>null</i>)

@return The URI users need to visit and retrieve the <i>token information</i> from

@see {@link #tokenFromInfo(String, String, long, String)} for converting the
<i>token information</i> into <i>RedditToken</i>
Generate the <i > implicit flow< / i > Uniform Resource Locator ( URI ) for a reddit user to authorize your application . <br > <br > The user will after authorization receive token information . This can be turned into a <i > RedditToken< / i > using { @link #tokenFromInfo ( String String long String ) } .