final class ApiIdentity (View source)

Methods

__construct(string $id, string $type, array $scopes = [], string|null $name = null)
string
id()
string
string
type()
string
array
scopes()
array
string|null
name()
string|null
bool
hasScope(string $scope)
bool

Details

__construct

__construct(string $id, string $type, array $scopes = [], string|null $name = null)

No description

Parameters

string $id
string $type
array $scopes
string|null $name

id

string id()

No description

Return Value

string

type

string type()

No description

Return Value

string

scopes

array scopes()

No description

Return Value

array

name

string|null name()

No description

Return Value

string|null

hasScope

bool hasScope(string $scope)

No description

Parameters

string $scope

Return Value

bool