PHP Interface AuthBucket\OAuth2\TokenType\TokenTypeHandlerFactoryInterface

Author: Wong Hoi Sing Edison ([email protected])
Datei anzeigen Open project: authbucket/oauth2

Public Methods

Method 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 method

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

getTokenTypeHandlers() public method

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