public getGrantTypeHandler ( string $type = null ) : AuthBucket\OAuth2\GrantType\GrantTypeHandlerInterface | ||
$type | string | Type of grant type handler, as refer to RFC6749 |
return | AuthBucket\OAuth2\GrantType\GrantTypeHandlerInterface | The stored grant type handler |