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

Link copied to clipboard

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

Link copied to clipboard

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

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

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