Class AuthenticationPolicy
[Deprecated] The authentication settings for the backend service. The authentication settings for the backend service.
Implements
Inherited Members
Namespace: Google.Apis.Compute.alpha.Data
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class AuthenticationPolicy : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Origins
List of authentication methods that can be used for origin authentication. Similar to peers, these will be evaluated in order the first valid one will be used to set origin identity. If none of these methods pass, the request will be rejected with authentication failed error (401). Leave the list empty if origin authentication is not required.
Declaration
[JsonProperty("origins")]
public virtual IList<OriginAuthenticationMethod> Origins { get; set; }
Property Value
Type | Description |
---|---|
IList<OriginAuthenticationMethod> |
Peers
List of authentication methods that can be used for peer authentication. They will be evaluated in order the first valid one will be used to set peer identity. If none of these methods pass, the request will be rejected with authentication failed error (401). Leave the list empty if peer authentication is not required.
Declaration
[JsonProperty("peers")]
public virtual IList<PeerAuthenticationMethod> Peers { get; set; }
Property Value
Type | Description |
---|---|
IList<PeerAuthenticationMethod> |
PrincipalBinding
Define whether peer or origin identity should be used for principal. Default value is USE_PEER. If peer (or origin) identity is not available, either because peer/origin authentication is not defined, or failed, principal will be left unset. In other words, binding rule does not affect the decision to accept or reject request. This field can be set to one of the following: USE_PEER: Principal will be set to the identity from peer authentication. USE_ORIGIN: Principal will be set to the identity from origin authentication.
Declaration
[JsonProperty("principalBinding")]
public virtual string PrincipalBinding { get; set; }
Property Value
Type | Description |
---|---|
string |
ServerTlsContext
Configures the mechanism to obtain server-side security certificates and identity information.
Declaration
[JsonProperty("serverTlsContext")]
public virtual TlsContext ServerTlsContext { get; set; }
Property Value
Type | Description |
---|---|
TlsContext |