authenticateWithServerAuthCode method

Future<AuthenticationResponse> authenticateWithServerAuthCode(
  1. String authenticationCode,
  2. String? redirectUri
)

Authenticates a user with Google using the serverAuthCode.

Implementation

_i2.Future<_i4.AuthenticationResponse> authenticateWithServerAuthCode(
  String authenticationCode,
  String? redirectUri,
) => caller.callServerEndpoint<_i4.AuthenticationResponse>(
  'serverpod_auth.google',
  'authenticateWithServerAuthCode',
  {
    'authenticationCode': authenticationCode,
    'redirectUri': redirectUri,
  },
);