Class AuthProvider
Inheritance
System.Object
AuthProvider
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Google.Api.CommonProtos.dll
Syntax
public sealed class AuthProvider : IMessage<AuthProvider>, IMessage, IEquatable<AuthProvider>, IDeepCloneable<AuthProvider>
Constructors
AuthProvider()
Declaration
AuthProvider(AuthProvider)
Declaration
public AuthProvider(AuthProvider other)
Parameters
Fields
AudiencesFieldNumber
Field number for the "audiences" field.
Declaration
public const int AudiencesFieldNumber = 4
Field Value
Type |
Description |
System.Int32 |
|
AuthorizationUrlFieldNumber
Field number for the "authorization_url" field.
Declaration
public const int AuthorizationUrlFieldNumber = 5
Field Value
Type |
Description |
System.Int32 |
|
IdFieldNumber
Field number for the "id" field.
Declaration
public const int IdFieldNumber = 1
Field Value
Type |
Description |
System.Int32 |
|
IssuerFieldNumber
Field number for the "issuer" field.
Declaration
public const int IssuerFieldNumber = 2
Field Value
Type |
Description |
System.Int32 |
|
JwksUriFieldNumber
Field number for the "jwks_uri" field.
Declaration
public const int JwksUriFieldNumber = 3
Field Value
Type |
Description |
System.Int32 |
|
Properties
Audiences
The list of JWT
audiences.
that are allowed to access. A JWT containing any of these audiences will
be accepted. When this setting is absent, only JWTs with audience
"https://[Service_name][google.api.Service.name]/[API_name][google.protobuf.Api.name]"
will be accepted. For example, if no audiences are in the setting,
LibraryService API will only accept JWTs with the following audience
"https://library-example.googleapis.com/google.example.library.v1.LibraryService".
Example:
audiences: bookstore_android.apps.googleusercontent.com,
bookstore_web.apps.googleusercontent.com
Declaration
public string Audiences { get; set; }
Property Value
Type |
Description |
System.String |
|
AuthorizationUrl
Redirect URL if JWT token is required but not present or is expired.
Implement authorizationUrl of securityDefinitions in OpenAPI spec.
Declaration
public string AuthorizationUrl { get; set; }
Property Value
Type |
Description |
System.String |
|
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Id
The unique identifier of the auth provider. It will be referred to by
AuthRequirement.provider_id
.
Example: "bookstore_auth".
Declaration
public string Id { get; set; }
Property Value
Type |
Description |
System.String |
|
Issuer
Declaration
public string Issuer { get; set; }
Property Value
Type |
Description |
System.String |
|
JwksUri
Declaration
public string JwksUri { get; set; }
Property Value
Type |
Description |
System.String |
|
Parser
Declaration
public static MessageParser<AuthProvider> Parser { get; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Implements
Clone()
Declaration
public AuthProvider Clone()
Returns
Implements
Equals(AuthProvider)
Declaration
public bool Equals(AuthProvider other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<T>.Equals(T)
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
System.Object |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
MergeFrom(AuthProvider)
Declaration
public void MergeFrom(AuthProvider other)
Parameters
Implements
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Implements
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
WriteTo(CodedOutputStream)
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Implements
Explicit Interface Implementations
IMessage.Descriptor
Declaration
MessageDescriptor IMessage.Descriptor { get; }
Returns
Implements