src/main/java/com/github/jreddit/oauth/RedditOAuthAgent.java
public synchronized RedditToken tokenFromInfo(String accessToken, String tokenType, long expiresIn, String scope) {
        return new RedditToken(accessToken, tokenType, expiresIn, scope);
    }
public synchronized RedditToken tokenFromInfo(String accessToken, String tokenType, long expiresIn, String scope) {
        return new RedditToken(accessToken, tokenType, expiresIn, scope);
    }
public synchronized RedditToken tokenFromInfo ( String accessToken , String tokenType , long expiresIn , String scope ) { return new RedditToken ( accessToken , tokenType , expiresIn , scope ) ; }
Generate a token from information received using the <i>implicit grant flow</i>.<br>
<br>
<b>WARNING:</b> The expiration of the token is no longer very accurate. There is a delay
between the user receiving the token, and inputting it into this function. Beware that the
token might expire earlier than that the token reports it to.

@param accessToken Access token
@param tokenType Token type (commonly "bearer")
@param expiresIn Expires in (seconds)
@param scope Scope

@return <i>RedditToken</i> generated using the given information.
Generate a token from information received using the <i > implicit grant flow< / i > . <br > <br > <b > WARNING : < / b > The expiration of the token is no longer very accurate . There is a delay between the user receiving the token and inputting it into this function . Beware that the token might expire earlier than that the token reports it to .