Skip to main content
Version: 5.9.6

UpdateFederationEmail

public BackendReturnObject UpdateFederationEmail(string federationToken, FederationType type);

Parameters​

ValueTypeDescription
federationTokenstringFederation token
typeFederationType(enum)Federation type.
FederationType.Google
FederationType.Facebook
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

Error cases​

When the user information is not in the BACKND database
statusCode : 404
errorCode : NotFoundException