AmplifyAuthTokenProvider
public protocol AmplifyAuthTokenProvider : Sendable
Note
Sendable because getLatestAuthToken is passed as a @Sendable closure into the
subscription interceptors.
-
Declaration
Swift
typealias AuthToken = String -
getLatestAuthToken()AsynchronousDeclaration
Swift
func getLatestAuthToken() async throws -> String
View on GitHub