signInWithOidcToken

abstract suspend fun signInWithOidcToken(token: String, host: String? = null): RainbowResult<Unit>

Initiates a sign-in using the provided OpenID Connect (OIDC) token and an optional host URL.

The OIDC token, generated by a third-party service, is sent to Rainbow for verification.

Return

RainbowResult to receive callbacks for sign-in events.

Parameters

token

The OIDC token used for authentication.

host

Optional custom host URL for authentication. Set to null for default configuration.


abstract suspend fun signInWithOidcToken(token: String): RainbowResult<Unit>

Initiates a sign-in using the provided OpenID Connect (OIDC) token.

The OIDC token, generated by a third-party service, is sent to Rainbow for verification.

Return

RainbowResult to receive callbacks for sign-in events.

Parameters

token

The OIDC token used for authentication.