createCustomToken method
Creates a new Firebase custom token (JWT) that can be sent back to a client device to use to sign in with the client SDKs' signInWithCustomToken() methods.
Returns a Future containing a custom token string for the provided uid
and payload.
Implementation
Future<String> createCustomToken(String uid,
[Map<String, dynamic> developerClaims = const {}]) async {
return _tokenGenerator.createCustomToken(uid, developerClaims);
}