Represents a factory used when retrieving an authorization grant type.
Methods | ||
---|---|---|
public
|
setGrant(string $name, AbstractGrant $grant): self
|
# |
public
|
getGrant(string $name): AbstractGrant
|
# |
protected
|
registerDefaultGrant(string $name): self
|
# |
public
|
isGrant(mixed $class): boolean
|
# |
public
|
checkGrant(mixed $class): void
|
# |
Properties | |||
---|---|---|---|
protected
|
array
|
$registry = []
|
# |