public synchronized void initialiseFromAPIToken ( final String token ) { final String responseStr = authService . getToken ( UserManagerOAuthService . GRANT_TYPE_TOKEN_EXCHANGE , null , getOwnCallbackUri ( ) . toString ( ) , clientId , clientSecret , null , null , null , token ) ; loadAuthResponse ( responseStr ) ; }
Initialise this session reference by exchanging an API token for an access_token and refresh_token