AccessToken

scalaoauth2.provider.AccessToken
case class AccessToken(token: String, refreshToken: Option[String], scope: Option[String], lifeSeconds: Option[Long], createdAt: Date, params: Map[String, String])

Access token

Value parameters

createdAt

Access token is created date.

lifeSeconds

Life of the access token since its creation. In seconds.

params

Additional parameters to add information/restriction on given Access token.

refreshToken

Refresh token is used to re-issue access token.

scope

Inform the client of the scope of the access token issued.

token

Access token is used to authentication.

Attributes

Source
DataHandler.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def isExpired: Boolean

Attributes

Source
DataHandler.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

val expiresIn: Option[Long]

Attributes

Source
DataHandler.scala