KeyCloakParameters

data class KeyCloakParameters(val authorization_endpoint: String, val token_endpoint: String, val userinfo_endpoint: String, val end_session_endpoint: String, val redirect_uri: String, val clientId: String? = null, val grant_type: String = "authorization_code", val response_type: String = "code", val scope: List<String> = listOf("email", "openid", "phone", "profile"), val state: String = UUID.randomUUID().toString(), val guestClientSecret: String? = null, val guestClientId: String? = null, val username: String? = null, val password: String? = null, val isGuestMode: Boolean = false) : Parcelable

Constructors

Link copied to clipboard
constructor(authorization_endpoint: String, token_endpoint: String, userinfo_endpoint: String, end_session_endpoint: String, redirect_uri: String, clientId: String? = null, grant_type: String = "authorization_code", response_type: String = "code", scope: List<String> = listOf("email", "openid", "phone", "profile"), state: String = UUID.randomUUID().toString(), guestClientSecret: String? = null, guestClientId: String? = null, username: String? = null, password: String? = null, isGuestMode: Boolean = false)

Properties

Link copied to clipboard

URL of the OP's OAuth 2.0 Authorization Endpoint

Link copied to clipboard
val clientId: String? = null

The client id for user authentication

Link copied to clipboard

the URL for forces an access_token invalidation

Link copied to clipboard

a String of the OAuth 2.0 Grant Type values that this OP supports.

Link copied to clipboard
val guestClientId: String? = null

The client id for guest authentication

Link copied to clipboard

The client secret for guest authentication

Link copied to clipboard
val isGuestMode: Boolean = false

an internal boolean flag for enable guest mode authentication

Link copied to clipboard
val password: String? = null

The password used for qrcode or silent authentication authentication

Link copied to clipboard

the URL where the authorization code is delivered

Link copied to clipboard
Link copied to clipboard

A list containing a list of the OAuth 2.0 RFC6749 scope values that this server supports. The server MUST support the openid scope value.

Link copied to clipboard
Link copied to clipboard

URL of the OP's OAuth 2.0 Token Endpoint OpenID.Core.

Link copied to clipboard

URL of the OP's UserInfo Endpoint OpenID.Core. This URL MUST use the https scheme and MAY contain port, path, and query parameter components.

Link copied to clipboard
val username: String? = null

The username used for qrcode or silent authentication authentication

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)