|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.unboundid.scim.sdk.OAuthToken
public class OAuthToken
This class is a holder for OAuth token types.
| Nested Class Summary | |
|---|---|
static class |
OAuthToken.Type
This enum defines the supported set of OAuth token types. |
| Constructor Summary | |
|---|---|
OAuthToken(OAuthToken.Type type,
String tokenValue)
Constructs a fully initialized OAuthToken. |
|
OAuthToken(String tokenValue)
Constructs a fully initialized OAuthToken of the Bearer variety. |
|
| Method Summary | |
|---|---|
String |
getFormattedValue()
Returns a formatted representation of the token type and value for use as an Authorization header value. |
String |
getTokenValue()
Returns the token value. |
OAuthToken.Type |
getType()
Returns the token type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OAuthToken(String tokenValue)
tokenValue - The OAuth token value.
public OAuthToken(OAuthToken.Type type,
String tokenValue)
type - The token Type.tokenValue - The OAuth token value.| Method Detail |
|---|
public OAuthToken.Type getType()
public String getTokenValue()
public String getFormattedValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||