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() Asynchronous

    Declaration

    Swift

    func getLatestAuthToken() async throws -> String