PHP Classes

File: config/packages/knpu_oauth2_client.yaml

Recommend this page to a friend!
  Classes of Paulo Henrique  >  Ajudaime API  >  config/packages/knpu_oauth2_client.yaml  >  Download  
File: config/packages/knpu_oauth2_client.yaml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Ajudaime API
Find people close to the user who needs help
Author: By
Last change:
Date: 2 years ago
Size: 1,277 bytes


Class file image Download
            # must be "google" - it activates that type!
            type: google
            # add and configure client_id and client_secret in parameters.yml
            client_id: '%env(GOOGLE_CLIENT_ID)%'
            client_secret: '%env(GOOGLE_CLIENT_SECRET)%'
            # a route name you'll create
            redirect_route: connect_google_check
            redirect_params: {}
            # Optional value for sending access_type parameter. More detail:
            # access_type: offline
            # Optional value for sending hd parameter. More detail:
            # hosted_domain: null
            # Optional value for additional fields to be requested from the user profile. If set, these values will be included with the defaults. More details:
            # user_fields: {}
            # Optional value if you don't want or need to enable Google+ API access.
            # use_oidc_mode: false
            # whether to check OAuth2 "state": defaults to true
            # use_state: true
For more information send a message to info at phpclasses dot org.