UpdateFederationEmail
public BackendReturnObject UpdateFederationEmail(string federationToken, FederationType type);
Parameters
Value | Type | Description |
---|---|---|
federationToken | string | Federation token |
type | FederationType(enum) | Types of federations 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
});
ReturnCase
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