signInWithAuthenticationProvider

open suspend override fun signInWithAuthenticationProvider(authenticationProvider: AuthenticationProvider): AuthenticationTokens

Sign into the backend with an external authentication provider. Caller must implement AuthenticationProvider protocol to return the appropriate authentication token associated with the external identity registered with registerWithAuthenticationProvider.

Return

Successful authentication result AuthenticationTokens

Parameters

authenticationProvider

authentication provider that provides the authentication token.