Skip to content

OAuthOptions

//fluxbase-kotlin/io.github.nimbleflux.fluxbase.auth/OAuthOptions

[jvm]
data class OAuthOptions(val redirectTo: String? = null, val redirectUri: String? = null, val scopes: List<String> = emptyList())

Options for FluxbaseAuth.getOAuthUrl. Port of OAuthOptions (types.ts:872).

OAuthOptions [jvm]
constructor(redirectTo: String? = null, redirectUri: String? = null, scopes: List<String> = emptyList())
Name Summary
redirectTo [jvm]
val redirectTo: String?
Post-login redirect URL (where to go after successful login).
redirectUri [jvm]
val redirectUri: String?
OAuth callback URL (where the provider redirects with the code).
scopes [jvm]
val scopes: List<String>