IceCubesApp/Packages/Models/Sources/Models/OauthToken.swift

16 lines
414 B
Swift
Raw Normal View History

2022-12-01 08:05:26 +00:00
import Foundation
public struct OauthToken: Codable, Hashable, Sendable {
2022-12-01 08:05:26 +00:00
public let accessToken: String
public let tokenType: String
public let scope: String
public let createdAt: Double
2024-02-14 11:48:14 +00:00
2024-01-01 08:48:53 +00:00
public init(accessToken: String, tokenType: String, scope: String, createdAt: Double) {
self.accessToken = accessToken
self.tokenType = tokenType
self.scope = scope
self.createdAt = createdAt
}
2022-12-01 08:05:26 +00:00
}