Class OauthClientsResource.ExchangeAppAttestAttestationRequest
Accepts an App Attest CBOR attestation and verifies it with Apple using your preconfigured team and bundle IDs. If valid, returns an attestation artifact that can later be exchanged for an AppCheckToken using ExchangeAppAttestAssertion. For convenience and performance, this method's response object will also contain an AppCheckToken (if the verification is successful).
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Firebaseappcheck.v1beta
Assembly: Google.Apis.Firebaseappcheck.v1beta.dll
Syntax
public class OauthClientsResource.ExchangeAppAttestAttestationRequest : FirebaseappcheckBaseServiceRequest<GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse>, IClientServiceRequest<GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse>, IClientServiceRequest
Constructors
ExchangeAppAttestAttestationRequest(IClientService, GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest, string)
Constructs a new ExchangeAppAttestAttestation request.
Declaration
public ExchangeAppAttestAttestationRequest(IClientService service, GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest body, string app)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest | body | |
string | app |
Properties
App
Required. The relative resource name of the iOS app, in the format:
projects/{project_number}/apps/{app_id}
If necessary, the project_number
element can be replaced
with the project ID of the Firebase project. Learn more about using project identifiers in Google's AIP
2510 standard. Alternatively, if this method is being called for an
OAuth client protected by App Check, this field can also be in the format:
oauthClients/{oauth_client_id}
You can view the OAuth client ID for your OAuth clients in the Google Cloud console. Note that only iOS OAuth clients are supported at this time, and they must be linked to corresponding iOS Firebase apps. Please see the documentation for more information.
Declaration
[RequestParameter("app", RequestParameterType.Path)]
public virtual string App { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes ExchangeAppAttestAttestation parameter list.
Declaration
protected override void InitParameters()