![]() ![]() An instance of the OktaAuthStatus class represents the current status that is returned by the server. Please note that the closure onStatusChange returns OktaAuthStatus instance as a parameter. Restore authentication public class func fetchStatus( with stateToken: String, Forgot password public class func recoverPassword( with url: URL, Unlock account public class func unlockAccount( with url: URL, OnStatusChange: (_ newStatus: OktaAuthStatus) -> Void, Authentication public class func authenticate( with url: URL, To initiate a particular flow please make a call to one of the available functions in OktaAuthSdk.swift: ![]() Restore authentication/unlock/recover transaction with the state token.This functionality is subject to the security policy set by the administrator Recover password - allows users to securely reset their password if they've forgotten it.This functionality is subject to the security policy set by the administrator. Unlock account - unlocks a user account if it has been locked out due to excessive failed login attempts.This SDK supports user enrollment with MFA factors enabled by the administrator, as well as MFA challenges based on your Okta Sign-On Policy. Multifactor authentication (MFA) - strengthens the security of password-based authentication by requiring additional verification of another factor such as a temporary one-time password or an SMS passcode.Primary authentication - allows you to verify username and password credentials for a user.The Authentication SDK helps you build the following flows using your own UI elements: Github "okta/okta-auth-swift" Usage guide You can select the version using the majorVersion and minor parameters. Getting started Swift Package ManagerĪdd the following to the dependencies attribute defined in your Package.swift file. If you do not already have a Developer Edition Account, you can create one at. Post issues here on GitHub (for code errors). ![]()
0 Comments
Leave a Reply. |