Interface IGoogleAuthCallbackReceiver
- Namespace
- Uralstech.UMoth.GoogleSignIn
Callback receiver object for Google auth events.
public interface IGoogleAuthCallbackReceiver
Methods
OnSignInFailed(GoogleSignInErrorCode)
Called when the sign-in flow fails.
void OnSignInFailed(GoogleSignInErrorCode reason)
Parameters
reasonGoogleSignInErrorCodeThe reason for failure.
OnSignOutFailed()
Called when the sign-out flow fails.
void OnSignOutFailed()
OnSignedIn(GoogleIdTokenCredential)
Called when the sign-in flow succeeds.
void OnSignedIn(GoogleIdTokenCredential credential)
Parameters
credentialGoogleIdTokenCredentialThe Google ID Token credential.
OnSignedOut()
Called when the sign-out flow succeeds.
void OnSignedOut()