UserAgent

enum UserAgent : Enum<OAuth2Method.Options.UserAgent>

Represents the browser (or User-Agent implementation) used to display the OAuth2 provider authorize endpoint on the device.

As it may open security weaknesses if not properly set, please use the default value, that is, CustomTab, unless you exactly know what you are doing. This setting is provided for debugging purpose only.

Entries

WebView
Link copied to clipboard

Displays the OAuth2 provider authorize endpoint using a android.webkit.WebView implementation.

NativeBrowser
Link copied to clipboard

Displays the OAuth2 provider authorize endpoint using the native browser shipped with the device.

CustomTab
Link copied to clipboard

Displays the OAuth2 provider authorize endpoint using the androidx.browser.customtabs implementation. This is the default and most secure choice.

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int