OAuth2::Provider::AccessToken
Inherits Ktistec::Model::Common < Ktistec::Model < Reference < Object
Constants
Renew once more than 1/8th of the TTL has elapsed since the last renewal.
The lifetime granted to a token at issue or renewal.
Class methods
Instance methods
The session.
Links to the Session if one exists for this access token.
The account ID.
Links the access token to the Account model. It identifies
which user the token represents.
The account ID.
Links the access token to the Account model. It identifies
which user the token represents.
The client application ID.
Links the access token to the OAuth2 Client model. It
identifies which application this token was issued to.
The client application ID.
Links the access token to the OAuth2 Client model. It
identifies which application this token was issued to.
The expiration.
A timestamp that indicates when the access token becomes invalid.
Scopes.
Stores the specific permissions that the user granted when they authorized the application.
Scopes.
Stores the specific permissions that the user granted when they authorized the application.
The session.
Links to the Session if one exists for this access token.
The session.
Links to the Session if one exists for this access token.
The session.
Links to the Session if one exists for this access token.
The access token string.
This is a unique, randomly generated, and unguessable value
that the client application uses to authenticate its requests
to the server. The client sends this token in the
Authorization header of an API request.
The access token string.
This is a unique, randomly generated, and unguessable value
that the client application uses to authenticate its requests
to the server. The client sends this token in the
Authorization header of an API request.
Slides the expiration forward when the token is used.
No-op for expired tokens and for tokens still within the renewal threshold.