Remove not used entity.

This commit is contained in:
Marcin Czachursk 2023-01-29 19:44:03 +01:00
parent 9b7e08e7a4
commit 34b3efa211
1 changed files with 0 additions and 24 deletions

View File

@ -1,24 +0,0 @@
//
// https://mczachurski.dev
// Copyright © 2022 Marcin Czachurski and the repository contributors.
// Licensed under the MIT License.
//
import Foundation
import OAuthSwift
/// Access token returned by the server.
public struct AccessToken: Codable {
/// Access token.
public let token: String
private enum CodingKeys: String, CodingKey {
case token = "access_token"
}
#warning("This needs to be refactored, refresh token and other properties need to be available")
public init(credential: OAuthSwiftCredential) {
self.token = credential.oauthToken
}
}