class Authentication extends Message

Authentication defines the authentication configuration for an API.

Example for an API targeted for external use: 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

Protobuf type Google\Api\Authentication

Methods

__construct()

No description

RepeatedField
getRules()

A list of authentication rules that apply to individual API methods.

setRules(array|RepeatedField $var)

A list of authentication rules that apply to individual API methods.

RepeatedField
getProviders()

Defines a set of authentication providers that a service supports.

setProviders(array|RepeatedField $var)

Defines a set of authentication providers that a service supports.

Details

at line 43
__construct()

at line 55
RepeatedField 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;

Return Value

RepeatedField

at line 67
setRules(array|RepeatedField $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;

Parameters

array|RepeatedField $var

at line 79
RepeatedField getProviders()

Defines a set of authentication providers that a service supports.

Generated from protobuf field repeated .google.api.AuthProvider providers = 4;

Return Value

RepeatedField

at line 90
setProviders(array|RepeatedField $var)

Defines a set of authentication providers that a service supports.

Generated from protobuf field repeated .google.api.AuthProvider providers = 4;

Parameters

array|RepeatedField $var