Credentials

data class Credentials(    var accessToken: String,     var refreshToken: String,     var expiresIn: Long,     var issuedTime: Long,     var tokenType: String,     var scope: String?)

base class for an authorized identity

Constructors

Link copied to clipboard
fun Credentials(    accessToken: String,     refreshToken: String,     expiresIn: Long,     issuedTime: Long,     tokenType: String,     scope: String?)

Types

Link copied to clipboard
object Companion

Companion objects

Functions

Link copied to clipboard
fun clear()

clear all of the elements from this list.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.

Properties

Link copied to clipboard
var accessToken: String

The NUGU auth token

Link copied to clipboard
var expiresIn: Long

The lifetime in seconds of the access token

Link copied to clipboard
var issuedTime: Long

The issued Time

Link copied to clipboard
var refreshToken: String

The NUGU refresh token

Link copied to clipboard
var scope: String?

The scope string

Link copied to clipboard
var tokenType: String

The access Token Type