Type Aliases
The following type aliases are available globally.
-
Callback closure used during authentication to provide username and password during execution of:
ProvideCredentialsAuthenticationHandlerDelegate.authenticationHandler(, provideCredentialsWithCompletionHandler)See also:
ProvideCredentialsAuthenticationHandlerDelegateSee also
ProvideCredentialsAuthenticationHandlerDelegate
Declaration
Swift
public typealias AuthenticationCredentialsProvider = (_ userName: String, _ password: String) -> VoidParameters
userNamename of the user
passwordthe user’s password
-
Authentication handlers that rely on calling an external service to validate authentication credentials will support this delegate to handle gathering the user’s credentials, altering the user if those credentials were not valid, and to pass information about any service call failures failures to the user.
Declaration
Swift
public typealias ServiceBasedAuthenticationHandlerDelegate = ProvideCredentialsAuthenticationHandlerDelegate & FailableAuthenticationHandlerDelegate
View on GitHub
Type Aliases Reference