| Constants |
public
|
GRANT_AUTHORIZATION_CODE = 'authorization_code'
Authorization code
Authorization code
- [RFC6749] Section 4.1 ("Authorization Code Grant")
- [OpenID.Core] Section 3.1 ("Authentication using the Authorization
Code Flow")
- [OpenID.Core] Section 3.3 ("Authentication using the Hybrid Flow")
|
#
|
public
|
GRANT_PASSWORD = 'password'
Resource owner password
Resource owner password
- [RFC6749] Section 4.3 ("Resource Owner Password Credentials Grant")
|
#
|
public
|
GRANT_CLIENT_CREDENTIALS = 'client_credentials'
Client credentials
Client credentials
- [RFC6749] Section 4.4 ("Client Credentials Grant")
|
#
|
public
|
GRANT_DEVICE_CODE = 'urn:ietf:params:oauth:grant-type:device_code'
Device code
Device code
- [RFC8628] ("OAuth 2.0 Device Authorization Grant")
|
#
|
public
|
GRANT_REFRESH_TOKEN = 'refresh_token'
Refresh token
Refresh token
- [RFC6749] Section 6 ("Refreshing an Access Token")
|
#
|