PHP Class fkooman\OAuth\Client\Scope

ファイルを表示 Open project: fkooman/php-oauth-client Class Usage Examples

Public Methods

Method Description
__construct ( array $scope = [] )
__toString ( )
equals ( Scope $that )
fromString ( $scope, $separator = ' ' )
getScope ( )
getScopeAsArray ( )
hasAnyScope ( Scope $that )
hasOnlyScope ( Scope $that )
hasScope ( Scope $that )
isEmpty ( )
isSubsetOf ( Scope $that )
toArray ( )
toString ( $separator = ' ' )

Private Methods

Method Description
validateScopeToken ( $scopeToken )

Method Details

__construct() public method

public __construct ( array $scope = [] )
$scope array

__toString() public method

public __toString ( )

equals() public method

public equals ( Scope $that )
$that Scope

fromString() public static method

public static fromString ( $scope, $separator = ' ' )

getScope() public method

Deprecation:
public getScope ( )

getScopeAsArray() public method

Deprecation:
public getScopeAsArray ( )

hasAnyScope() public method

public hasAnyScope ( Scope $that )
$that Scope

hasOnlyScope() public method

public hasOnlyScope ( Scope $that )
$that Scope

hasScope() public method

public hasScope ( Scope $that )
$that Scope

isEmpty() public method

public isEmpty ( )

isSubsetOf() public method

Deprecation:
public isSubsetOf ( Scope $that )
$that Scope

toArray() public method

public toArray ( )

toString() public method

public toString ( $separator = ' ' )