View on GitHub

sensibill-android-documentation

com.getsensibill.oauthclient / OAuthSettings

OAuthSettings

class OAuthSettings : Serializable

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

Constructors

Name Summary
<init> OAuthSettings(apiKey: String, apiSecret: String, credentialType: String, redirectUri: String, isRedirect: Boolean = false)
Class that defines the properties needed to perform on-device authentication

Properties

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