OAuthSettings

class OAuthSettings(apiKey: String, apiSecret: String, credentialType: String, redirectUri: String, isRedirect: Boolean) : Serializable

Class that defines the properties needed to perform on-device authentication

Constructors

OAuthSettings
Link copied to clipboard
fun OAuthSettings(apiKey: String, apiSecret: String, credentialType: String, redirectUri: String, isRedirect: Boolean = false)

Properties

apiKey
Link copied to clipboard
var apiKey: String
The Client Key
apiSecret
Link copied to clipboard
var apiSecret: String
The Client Secret
credentialType
Link copied to clipboard
var credentialType: String
The Client type
isRedirect
Link copied to clipboard
var isRedirect: Boolean = false
The boolean that determines whether or not the authorizationGrant endpoint will issue a redirect.
isValid
Link copied to clipboard
val isValid: Boolean
Computed value that returns true if OAuthSettings properties are valid
redirectUri
Link copied to clipboard
var redirectUri: String
The redirect URL that correlates to client