UserData

data class UserData(accessToken: String, tokenType: String, expiresIn: BigInteger, userName: String, issued: String, expires: String) : Serializable

Response data for login function

Constructors

UserData
Link copied to clipboard
fun UserData(accessToken: String, tokenType: String, expiresIn: BigInteger, userName: String, issued: String, expires: String)

Properties

accessToken
Link copied to clipboard
@SerializedName(value = "access_token")
val accessToken: String

Session token from the BluSKY server fro the API calls

expires
Link copied to clipboard
@SerializedName(value = ".expires")
var expires: String

The time at which the token expired in date-time format

expiresIn
Link copied to clipboard
@SerializedName(value = "expires_in")
var expiresIn: BigInteger

The duration in which the token expires

issued
Link copied to clipboard
@SerializedName(value = ".issued")
var issued: String

The time at which the token was issues in date-time format

tokenType
Link copied to clipboard
@SerializedName(value = "token_type")
var tokenType: String

Type of token used

userName
Link copied to clipboard
@SerializedName(value = "userName")
var userName: String

The username which was used by the user at the time of login