PromoteOptions

data class PromoteOptions @JvmOverloads constructor(var redirectUri: String, var xState: String? = null, var uiLocales: List<String>? = null, var colorScheme: ColorScheme? = null, var wechatRedirectURI: String? = null, var resource: String? = null, var scopes: List<String>? = null)

Constructors

Link copied to clipboard
constructor(redirectUri: String, xState: String? = null, uiLocales: List<String>? = null, colorScheme: ColorScheme? = null, wechatRedirectURI: String? = null, resource: String? = null, scopes: List<String>? = null)

Properties

Link copied to clipboard

Theme override

Link copied to clipboard

Redirection URI to which the response will be sent after authorization.

Link copied to clipboard

Resource indicator (RFC 8707). Defaults to the resource given to configure; a value given here replaces it.

Link copied to clipboard

Scopes of the API Resource given in resource to request. Defaults to the scopes given to configure; a value given here replaces it.

Link copied to clipboard

UI locale tags

Link copied to clipboard

WeChat redirect uri is needed when integrating WeChat login The wechatRedirectURI will be called when user click the login with WeChat button

Link copied to clipboard

Use this parameter to provide parameters from the client application to Custom UI. The string in xState can be accessed by the Custom UI. Ignore this parameter if default AuthUI is used