This repository has been archived by the owner on Apr 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
AuthenticationResponse
siemensikkema edited this page Nov 8, 2021
·
2 revisions
public struct AuthenticationResponse<User>
public init(
user: User,
accessToken: String,
refreshToken: String
)
public let user: User
public let accessToken: String
public let refreshToken: String
public func map<T>(_ transformUser: (User) throws -> T) rethrows -> AuthenticationResponse<T>
public func flatMap<T>(
_ transformUser: (User) -> EventLoopFuture<T>
) -> EventLoopFuture<AuthenticationResponse<T>>
Generated at 2021-11-08T13:14:45+0000 using swift-doc 1.0.0-rc.1.