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: StringThe Client Key |
| apiSecret | var apiSecret: StringThe Client Secret |
| credentialType | var credentialType: StringThe Client type |
| isRedirect | var isRedirect: BooleanThe boolean that determines whether or not the authorizationGrant endpoint will issue a redirect. |
| isValid | val isValid: BooleanComputed value that returns true if OAuthSettings properties are valid |
| redirectUri | var redirectUri: StringThe redirect URL that correlates to client |