public AuthorizationCodeTokenRequest newTokenRequest ( String authorizationCode ) { return new AuthorizationCodeTokenRequest ( transport , jsonFactory , new GenericUrl ( tokenServerEncodedUrl ) , authorizationCode ) . setClientAuthentication ( clientAuthentication ) . setRequestInitializer ( requestInitializer ) . setScopes ( scopes ) ; }
Returns a new instance of an authorization code token request based on the given authorization code .