-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration Options
This are the configuration options available in the module that will define the behavior of the OAuth2 server.
type: boolean
default: true
Enforces the use of the state parameter while checking for an Authorize Code in the Authorization Code Granting.
type: boolean
default: false
Defines the allowance of Implicit Granting type in the system.
type: boolean
default: true
Determines if the controller should require an exact match on the "redirect_uri" parameter while checking for an Authorization Code in the Authorization Code Granting.
type: integer
default: 302
HTTP Status code that will be shown when redirecting to the defined redirect url while asking for an Authorization Code in the Authorization Code Granting.
type: integer
default: 3600
Seconds until the generated token expires its validation.
type: string
default: Service
type: string
default: access_token
Parameter name defined for the OAuth token authentication while checking for access in the API while sending it via GET method.
type: string
default: Bearer,
type: boolean
default: true
type: boolean
default: true
type: boolean
default: false
type: boolean
default: true
type: boolean
default: true
type: boolean
default: false
type: boolean
default: false
type: boolean
default: true
-
[Configuration Options] (https://github.com/Patroklo/yii2-oauth2-server/wiki/Configuration-Options)
6.1. Authorization Code
6.3. Password
6.4. Client Credentials