# Class CalendarAuthToken

java.lang.Object
com.codename1.calendar.CalendarAuthToken

public final class CalendarAuthToken extends Object
App-owned OAuth bearer token returned to an online source.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CalendarAuthToken(String accessToken, Long expiresAt, String scopes)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getAccessToken()`
  `Long`
  `getExpiresAt()`
  `String`
  `getScopes()`
  `boolean`
  `isExpiringWithin(int seconds)`

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### CalendarAuthToken

    public CalendarAuthToken(String accessToken, Long expiresAt, String scopes)

- ## Method Details

  - ### getAccessToken

    public String getAccessToken()

  - ### getExpiresAt

    public Long getExpiresAt()

  - ### getScopes

    public String getScopes()

  - ### isExpiringWithin

    public boolean isExpiringWithin(int seconds)