PHP Interface AuthBucket\OAuth2\TokenType\TokenTypeHandlerFactoryInterface

Author: Wong Hoi Sing Edison ([email protected])
Afficher le fichier Open project: authbucket/oauth2

Méthodes publiques

Méthode Description
getTokenTypeHandler ( string $type = null ) : GrantTypeHandlerInterface Gets a stored token type handler.
getTokenTypeHandlers ( ) : array Get a list of all supported handler.

Method Details

getTokenTypeHandler() public méthode

Gets a stored token type handler.
public getTokenTypeHandler ( string $type = null ) : GrantTypeHandlerInterface
$type string Type of token type handler, as refer to RFC6749
Résultat GrantTypeHandlerInterface The stored token type handler

getTokenTypeHandlers() public méthode

Get a list of all supported handler.
public getTokenTypeHandlers ( ) : array
Résultat array Supported handler in key-value pair