UpdateFederationEmail
public BackendReturnObject UpdateFederationEmail(string federationToken, FederationType type);
Parameters
Value | Type | Description |
---|---|---|
federationToken | string | Federation token |
type | FederationType(enum) | Federation type.FederationType.Google FederationType.Facebook FederationType.Apple FederationType.Steam FederationType.GPGS2 |
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