[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/carlos-mg89/oauth/src/OAuth/Common/Storage/ -> TokenStorageInterface.php (summary)

(no description)

File Size: 94 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

TokenStorageInterface:: (10 methods):
  retrieveAccessToken()
  storeAccessToken()
  hasAccessToken()
  clearToken()
  clearAllTokens()
  storeAuthorizationState()
  hasAuthorizationState()
  retrieveAuthorizationState()
  clearAuthorizationState()
  clearAllAuthorizationStates()


Interface: TokenStorageInterface  - X-Ref

All token storage providers must implement this interface.

retrieveAccessToken($service)   X-Ref

param: string $service
return: TokenInterface

storeAccessToken($service, TokenInterface $token)   X-Ref

param: string         $service
return: TokenStorageInterface

hasAccessToken($service)   X-Ref

param: string $service
return: bool

clearToken($service)   X-Ref
Delete the users token. Aka, log out.

param: string $service
return: TokenStorageInterface

clearAllTokens()   X-Ref
Delete *ALL* user tokens. Use with care. Most of the time you will likely
want to use clearToken() instead.

return: TokenStorageInterface

storeAuthorizationState($service, $state)   X-Ref
Store the authorization state related to a given service.

param: string $service
param: string $state
return: TokenStorageInterface

hasAuthorizationState($service)   X-Ref
Check if an authorization state for a given service exists.

param: string $service
return: bool

retrieveAuthorizationState($service)   X-Ref
Retrieve the authorization state for a given service.

param: string $service
return: string

clearAuthorizationState($service)   X-Ref
Clear the authorization state of a given service.

param: string $service
return: TokenStorageInterface

clearAllAuthorizationStates()   X-Ref
Delete *ALL* user authorization states. Use with care. Most of the time you will likely
want to use clearAuthorization() instead.

return: TokenStorageInterface



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1