auth
This commit is contained in:
parent
47580e8290
commit
34f49fa615
@ -27,18 +27,18 @@ import Foundation
|
||||
//}
|
||||
|
||||
public struct ServerResponseAuth: Decodable {
|
||||
let record: RecordAuth
|
||||
let token: String
|
||||
public let record: RecordAuth
|
||||
public let token: String
|
||||
|
||||
struct RecordAuth: Decodable {
|
||||
let collectionId: String
|
||||
let collectionName: String
|
||||
let dateBirthday: String
|
||||
let email: String
|
||||
let firstname: String
|
||||
let gender: String
|
||||
let id: String
|
||||
let lastname: String
|
||||
let secondname: String
|
||||
public struct RecordAuth: Decodable {
|
||||
public let collectionId: String
|
||||
public let collectionName: String
|
||||
public let dateBirthday: String
|
||||
public let email: String
|
||||
public let firstname: String
|
||||
public let gender: String
|
||||
public let id: String
|
||||
public let lastname: String
|
||||
public let secondname: String
|
||||
}
|
||||
}
|
||||
|
@ -8,10 +8,10 @@
|
||||
import Foundation
|
||||
|
||||
struct ServerResponseIdToken: Decodable {
|
||||
let items: IdToken
|
||||
public let items: IdToken
|
||||
|
||||
struct IdToken: Decodable {
|
||||
let id: String
|
||||
public struct IdToken: Decodable {
|
||||
public let id: String
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -23,12 +23,12 @@ import Foundation
|
||||
//}
|
||||
|
||||
public struct ServerResponseRegister: Decodable {
|
||||
let collectionId: String
|
||||
let collectionName: String
|
||||
let dateBirthday: String
|
||||
let firstname: String
|
||||
let gender: String
|
||||
let id: String
|
||||
let lastname: String
|
||||
let secondname: String
|
||||
public let collectionId: String
|
||||
public let collectionName: String
|
||||
public let dateBirthday: String
|
||||
public let firstname: String
|
||||
public let gender: String
|
||||
public let id: String
|
||||
public let lastname: String
|
||||
public let secondname: String
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user