PHP 인터페이스 AuthBucket\OAuth2\GrantType\GrantTypeHandlerFactoryInterface

저자: Wong Hoi Sing Edison ([email protected])
파일 보기 프로젝트 열기: authbucket/oauth2

공개 메소드들

메소드 설명
getGrantTypeHandler ( string $type = null ) : AuthBucket\OAuth2\GrantType\GrantTypeHandlerInterface Gets a stored grant type handler.
getGrantTypeHandlers ( ) : array Get a list of all supported handler.

메소드 상세

getGrantTypeHandler() 공개 메소드

Gets a stored grant type handler.
public getGrantTypeHandler ( string $type = null ) : AuthBucket\OAuth2\GrantType\GrantTypeHandlerInterface
$type string Type of grant type handler, as refer to RFC6749
리턴 AuthBucket\OAuth2\GrantType\GrantTypeHandlerInterface The stored grant type handler

getGrantTypeHandlers() 공개 메소드

Get a list of all supported handler.
public getGrantTypeHandlers ( ) : array
리턴 array Supported handler in key-value pair