Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct tokens: Codable {
- let accessToken: String = ""
- let expiresIn: Int = 0
- let refreshToken: String = ""
- let scope: String = ""
- let tokenType: String = ""
- enum CodingKeys: String, CodingKey {
- case accessToken = "access_token"
- case expiresIn = "expires_in"
- case refreshToken = "refresh_token"
- case scope
- case tokenType = "token_type"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement