Skip to main content
Version: SDK-5.11.2

UpdateFederationEmail

public BackendReturnObject UpdateFederationEmail(string federationToken, FederationType type);

Parameters

ValueTypeDescription
federationTokenstringFederation token
typeFederationType(enum)Federation type. FederationType.Google, FederationType.Facebook, or FederationType.Apple

Description

You can store the email information of the existing federation members whose emails have not been collected yet.

Example

Synchronous

Backend.BMember.UpdateFederationEmail("federationToken" , FederationType.Google);

Asynchronous

Backend.BMember.UpdateFederationEmail("federationToken", FederationType.Google, (callback) =>
{
// Post-process
});

SendQueue

SendQueue.Enqueue(Backend.BMember.UpdateFederationEmail, "federationToken", FederationType.Google, (callback) =>
{
// Post-process
});

Return cases

Success cases

When the email information is updated successfully
statusCode : 204
message : Success

Error cases

When the user information is not in the BACKND database
statusCode : 404
errorCode : NotFoundException
message : federationId not found, federationId cannot be found