Package com.independentsoft.graph

# Class OAuthToken

java.lang.Object
com.independentsoft.graph.OAuthToken

public class OAuthToken extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `OAuthToken​(String accessToken)`
  `OAuthToken​(String accessToken, String refreshToken)`
  `OAuthToken​(String accessToken, String refreshToken, String idToken)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getAccessToken()`
  `int`
  `getExpiresIn()`
  `Date`
  `getExpiresOn()`
  `String`
  `getIdToken()`
  `String`
  `getRefreshToken()`
  `List<String>`
  `getScope()`
  `String`
  `getType()`
  `void`
  `setAccessToken​(String accessToken)`
  `void`
  `setIdToken​(String idToken)`
  `void`
  `setRefreshToken​(String refreshToken)`

  ### Methods inherited from class java.lang.Object

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

- ## Constructor Details

  - ### OAuthToken

    public OAuthToken​(String accessToken)

  - ### OAuthToken

    public OAuthToken​(String accessToken, String refreshToken)

  - ### OAuthToken

    public OAuthToken​(String accessToken, String refreshToken, String idToken)

- ## Method Details

  - ### getType

    public String getType()

  - ### getExpiresIn

    public int getExpiresIn()

  - ### getScope

    public List<String> getScope()

  - ### getExpiresOn

    public Date getExpiresOn()

  - ### getAccessToken

    public String getAccessToken()

  - ### setAccessToken

    public void setAccessToken​(String accessToken)

  - ### getIdToken

    public String getIdToken()

  - ### setIdToken

    public void setIdToken​(String idToken)

  - ### getRefreshToken

    public String getRefreshToken()

  - ### setRefreshToken

    public void setRefreshToken​(String refreshToken)