final | |
|---|---|
readonly | |
implements |
GrantStrategyInterface |
The OAuth 2.1 client credentials grant (SEP-1046), an unattended machine-to-machine flow with no user and no consent screen.
| Methods | ||
|---|---|---|
public
|
__construct(ClientSecretCredential|PrivateKeyJwtCredential $credential, Clock $clock = new SystemClock())
|
# |
public
|
grant(GrantContext $context, Cancellation $cancellation): AccessToken
|
# |
public
|
renewsByFreshGrant(): bool
|
# |