Authentication defines the authentication configuration for API methods
provided by an API service.
Example: name: calendar.googleapis.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*" requirements: provider_id: google_calendar_auth - selector: google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/auth/calendar.read
Generated from protobuf message google.api.Authentication
| Methods |
| public __construct( $data = NULL) Constructor.
|
| public getProviders() Defines a set of authentication providers that a service supports. Generated from protobuf field repeated .google.api.AuthProvider providers = 4;
|
| public getRules() A list of authentication rules that apply to individual API methods. NOTE: All service configuration rules follow "last one wins" order. Generated from protobuf field repeated .google.api.AuthenticationRule rules = 3;
|
| public setProviders( $var) Defines a set of authentication providers that a service supports. Generated from protobuf field repeated .google.api.AuthProvider providers = 4;
|
| public setRules( $var) A list of authentication rules that apply to individual API methods. NOTE: All service configuration rules follow "last one wins" order. Generated from protobuf field repeated .google.api.AuthenticationRule rules = 3;
|
| Methods |
| Properties |
| private $providers = NULL Defines a set of authentication providers that a service supports. Generated from protobuf field repeated .google.api.AuthProvider providers = 4; |
| private $rules = NULL A list of authentication rules that apply to individual API methods. NOTE: All service configuration rules follow "last one wins" order. Generated from protobuf field repeated .google.api.AuthenticationRule rules = 3; |