CognitoAuthUI

public class CognitoAuthUI : AuthUI

AuthUI implemented that uses Cognito Auth UI.

  • Configuration parameter names.

    Declaration

    Swift

    public struct Config
  • Intializes a new CognitoAuthUI instance.

    Declaration

    Swift

    public init(config: [String : Any], logger: Logger? = nil) throws

    Parameters

    config

    Configuration parameters.

    logger

    A logger to use for logging messages. If none provided then use a default logger.

    Return Value

    A new initialized CognitoAuthUI instance.

  • Declaration

    Swift

    public func presentFederatedSignInUI(presentationAnchor: ASPresentationAnchor) async throws -> AuthenticationTokens
  • Declaration

    Swift

    public func presentFederatedSignOutUI(presentationAnchor: ASPresentationAnchor) async throws
  • Declaration

    Swift

    public func processFederatedSignInTokens(url: URL) -> Bool
  • Declaration

    Swift

    public func reset()