PHP Class fkooman\OAuth\Client\Scope

Afficher le fichier Open project: fkooman/php-oauth-client Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
validateScopeToken ( $scopeToken )

Method Details

__construct() public méthode

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

__toString() public méthode

public __toString ( )

equals() public méthode

public equals ( Scope $that )
$that Scope

fromString() public static méthode

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

getScope() public méthode

Deprecation:
public getScope ( )

getScopeAsArray() public méthode

Deprecation:
public getScopeAsArray ( )

hasAnyScope() public méthode

public hasAnyScope ( Scope $that )
$that Scope

hasOnlyScope() public méthode

public hasOnlyScope ( Scope $that )
$that Scope

hasScope() public méthode

public hasScope ( Scope $that )
$that Scope

isEmpty() public méthode

public isEmpty ( )

isSubsetOf() public méthode

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

toArray() public méthode

public toArray ( )

toString() public méthode

public toString ( $separator = ' ' )