You are here

public static function AccessTokenInterface::defaultExpiration in Simple OAuth (OAuth2) & OpenID Connect 8

Returns the defaul expiration.

Return value

array The default expiration timestamp.

1 method overrides AccessTokenInterface::defaultExpiration()
AccessToken::defaultExpiration in src/Entity/AccessToken.php
Returns the defaul expiration.

File

src/AccessTokenInterface.php, line 23

Class

AccessTokenInterface
Provides an interface for defining Access Token entities.

Namespace

Drupal\simple_oauth

Code

public static function defaultExpiration();