AuthenticationProvider

public protocol AuthenticationProvider

Protocol encapsulating properties and methods required to be implemented by all authentication providers.

  • Creates and returns authentication information.

    Declaration

    Swift

    func getAuthenticationInfo() async throws -> AuthenticationInfo

    Parameters

    completion

    The completion handler to invoke to pass the authentication information or error.

  • Resets any cached authentication information.

    Declaration

    Swift

    func reset()