Package: react-native-wallet-kit
- This function logs in a user using the provided OIDC token and public key.
- Optionally invalidates any existing sessions for the user if
invalidateExistingis set to true. - Stores the resulting session token under the specified session key, or the default session key if not provided.
- Handles cleanup of unused key pairs if login fails.
LoginWithOauthParams
required
BaseAuthResult
required
A promise that resolves to a BaseAuthResult, which includes:
sessionToken: the signed JWT session token.