public class GTClientCredentials
extends java.lang.Object
GTClientCredentials
supports client credentials grant type flow
The OAuth 2.0 Authorization Protocol draftModifier and Type | Method and Description |
---|---|
static AccessTokenRequest |
createAccessTokenRequest(OAuth2 data,
java.lang.String scope)
creates an 'access token request'
|
public static AccessTokenRequest createAccessTokenRequest(OAuth2 data, java.lang.String scope)
The parameter scope
may be null
.
data
- a reference to the OAuth2 object instance that contains
information about authorization processscope
- a scope of the requestCopyright © 2013, 2014, Oracle and/or its affiliates. All rights reserved.