android-components / mozilla.components.concept.sync / AuthFlowUrl

AuthFlowUrl

data class AuthFlowUrl (source)

An object that represents a login flow initiated by OAuthAccount.

Constructors

Name Summary
<init> AuthFlowUrl(state: String, url: String)
An object that represents a login flow initiated by OAuthAccount.

Properties

Name Summary
state val state: String
OAuth state parameter, identifying a specific authentication flow. This string is randomly generated during OAuthAccount.beginOAuthFlowAsync and OAuthAccount.beginPairingFlowAsync.
url val url: String
Url which needs to be loaded to go through the authentication flow identified by state.

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.