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

Generated from protobuf message google.api.Authentication

Methods

__construct()

No description

RepeatedField
getRules()

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

$this
setRules(AuthenticationRule[]|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.

$this
setProviders(AuthProvider[]|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 68
$this setRules(AuthenticationRule[]|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

AuthenticationRule[]|RepeatedField $var

Return Value

$this

at line 82
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 94
$this setProviders(AuthProvider[]|RepeatedField $var)

Defines a set of authentication providers that a service supports.

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

Parameters

AuthProvider[]|RepeatedField $var

Return Value

$this