-
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. -
presentFederatedSignInUI(presentationAnchor:
Asynchronous) Declaration
Swift
public func presentFederatedSignInUI(presentationAnchor: ASPresentationAnchor) async throws -> AuthenticationTokens
-
presentFederatedSignOutUI(presentationAnchor:
Asynchronous) Declaration
Swift
public func presentFederatedSignOutUI(presentationAnchor: ASPresentationAnchor) async throws
-
Declaration
Swift
public func processFederatedSignInTokens(url: URL) -> Bool
-
Declaration
Swift
public func reset()