Class Authentication
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
Implements
Inherited Members
Namespace: Google.Apis.ServiceNetworking.v1.Data
Assembly: Google.Apis.ServiceNetworking.v1.dll
Syntax
public class Authentication : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Providers
Defines a set of authentication providers that a service supports.
Declaration
[JsonProperty("providers")]
public virtual IList<AuthProvider> Providers { get; set; }
Property Value
Type | Description |
---|---|
IList<AuthProvider> |
Rules
A list of authentication rules that apply to individual API methods. NOTE: All service configuration rules follow "last one wins" order.
Declaration
[JsonProperty("rules")]
public virtual IList<AuthenticationRule> Rules { get; set; }
Property Value
Type | Description |
---|---|
IList<AuthenticationRule> |