public interface FirebaseCustomTokenResultCallback
Modifier and Type | Method and Description |
---|---|
void |
onFailure(FirebaseCustomTokenResultError errorCode)
Called when the Custom Token request fails.
|
void |
onSuccess(java.lang.String customToken)
Called when the Custom Token is successfully fetched.
|
void onSuccess(@NonNull java.lang.String customToken)
customToken
- The Custom Token response.void onFailure(@NonNull FirebaseCustomTokenResultError errorCode)
errorCode
- The error code representing the failure reason.