Skip navigation links

Oracle Fusion Middleware Java API Reference for the Oracle Access Management OAuth Service
11g Release 2 Patch Set 3 (11.1.2.3)

E59498-01


oracle.security.idaas.oauth.sdk.token
Class OAuthToken

java.lang.Object
  extended by oracle.security.idaas.oauth.sdk.token.OAuthToken


public class OAuthToken
extends java.lang.Object

Manages the token attributes.


Constructor Summary

OAuthToken()
          Initiates an empty token.
OAuthToken(char[] tokenValue, java.lang.String grantType, java.lang.String tkContext)
          Initiates a new token using the given values.

  Method Summary

 java.lang.String getGrantType()
          Returns the oracle grant type
 java.lang.String getTkContext()
          Returns the oracle_tk_context.
 char[] getTokenValue()
          Returns the value of the token.
 java.lang.String toString()
           

  Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

OAuthToken

public OAuthToken()
Initiates an empty token.

OAuthToken

public OAuthToken(char[] tokenValue,
                  java.lang.String grantType,
                  java.lang.String tkContext)
Initiates a new token using the given values.
Parameters:
tokenValue - the access_token
grantType - the grant type
tkContext - the context

Method Detail

getTokenValue

public char[] getTokenValue()
Returns the value of the token.
Returns:
token

getGrantType

public java.lang.String getGrantType()
Returns the oracle grant type
Returns:
oracle_grant_type

getTkContext

public java.lang.String getTkContext()
Returns the oracle_tk_context.
Returns:
oracle_tk_context

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Skip navigation links

Copyright (c) 2014, 2015,
Oracle and/or its affiliates. All Rights Reserved.