EOS_Connect_VerifyIdToken

EOS API reference page for EOS_Connect_VerifyIdToken

Choose your implementation method:

C

C#

This function is part of the Connect Interface.

Remarks

Verifies the given ID token. The result of this function can only be trusted when called from a server.

Parameters

EOS_Connect_VerifyIdToken

Parameter Type And Name

Usage Information

EOS_HConnect Handle

const EOS_Connect_VerifyIdTokenOptions* Options

structure containing information about the ID token to verify.

void* ClientData

arbitrary data that is passed back to you in the callback.

const EOS_Connect_OnVerifyIdTokenCallback CompletionDelegate

a callback that is fired when the operation completes, either successfully or in error.

This function is asynchronous; the EOS SDK guarantees that your callback (the CompletionDelegate parameter) will run when the operation completes, regardless of whether it succeeds or fails. Use the void* parameter to pass any contextual information the callback may need in order to react properly. Relevant information can be copied from the EOS SDK's cache while the callback function is running. You do not need to remove the callback function.

Callback Function Information

Because this function is asynchronous, it employs a callback of type EOS_Connect_OnVerifyIdTokenCallback to report the results of its operation.

Callback Remarks

Function prototype definition for callbacks passed into EOS_Connect_VerifyIdToken.

Callback Parameters

EOS_Connect_OnVerifyIdTokenCallback

Parameter Type And Name

Usage Information

const EOS_Connect_VerifyIdTokenCallbackInfo* Data

A EOS_Connect_VerifyIdTokenCallbackInfo containing the output information and result.

Related API Members

This function is part of the Connect Interface.

Remarks

Verifies the given ID token. The result of this function can only be trusted when called from a server.

Parameters

Connect.ConnectInterface.VerifyIdToken

Parameter Type And Name

Usage Information

VerifyIdTokenOptions options

structure containing information about the ID token to verify.

object clientData

arbitrary data that is passed back to you in the callback.

OnVerifyIdTokenCallback completionDelegate

a callback that is fired when the operation completes, either successfully or in error.

This function is asynchronous; the EOS SDK guarantees that your callback (the CompletionDelegate parameter) will run when the operation completes, regardless of whether it succeeds or fails. Use the object parameter to pass any contextual information the callback may need in order to react properly. Relevant information can be copied from the EOS SDK's cache while the callback function is running. You do not need to remove the callback function.

Callback Function Information

Because this function is asynchronous, it employs a callback of type Connect.OnVerifyIdTokenCallback to report the results of its operation.

Callback Remarks

Function prototype definition for callbacks passed into {ConnectInterface.VerifyIdToken}.

Callback Parameters

Connect.OnVerifyIdTokenCallback

Parameter Type And Name

Usage Information

VerifyIdTokenCallbackInfo data

A EOS_Connect_VerifyIdTokenCallbackInfo containing the output information and result.

Related API Members

Tags