UserData
public struct UserData : Decodable
Response data for login function.This structure is the response data for login function. It provides details like access token , duration within which the access token is valid , type of the access token, username, time at which the token was issued, and time at which the token will expire.
-
Session token from the BluSKY server fro the API calls.
Declaration
Swift
public let accessToken: String? -
Type of token used.
Declaration
Swift
public let tokenType: String? -
The duration in which the token expires.
Declaration
Swift
public let expiresIn: Int64? -
The username which was used by the user at the time of login
Declaration
Swift
public let userName: String? -
The time at which the token was issues in date-time format.
Declaration
Swift
public let issued: String? -
The time at which the token expired in date-time format.
Declaration
Swift
public let expires: String? -
Declaration
Swift
public init(from decoder: Decoder) throws
UserData Structure Reference