Classes

The following classes are available globally.

  • The Username Password challenge prompts the user to re-enter their username and password registered with Access Manager.

    See more

    Declaration

    Swift

    public final class UsernamePasswordChallenge : NSObject, ChallengeProtocol
  • The OAuthContext implements the Resource Owner Password Credentials (ROPC) Grant and Authorization Code Grant as the calling client to an OAuth authorization server. The resource owner is suitable in cases where the resource owner has a trust relationship with the client. The authorization code grant flow is suitable when the authorization code has been generated using an alternate factor, such as a desktop browser.

    See more

    Declaration

    Swift

    public final class OAuthContext
  • The UIRegistrationQRView enables mobile application to scan a QR code for device registration.

    See more

    Declaration

    Swift

    public final class UIQRScanView: UIView, AVCaptureMetadataOutputObjectsDelegate
  • Time-based One-time Password Algorithm (TOTP) challenge accepts a value that an algorithm has computed to produce a one-time password from a shared secret key and the current time.

    See more

    Declaration

    Swift

    public final class TotpChallenge : NSObject, ChallengeProtocol
  • Holds the result of the challenge verification.

    See more

    Declaration

    Swift

    public final class ChallengeResult
  • The ChallengeContext is a container of challenge mechanisms that get invoked when an authorization challenge is returned from a request to a protected resource.

    See more

    Declaration

    Swift

    public final class ChallengeContext
  • HMAC Algorithm (HOTP) challenge accepts a value that an algorithm has computed to produce a one-time password from a shared secret key.

    See more

    Declaration

    Swift

    public final class HotpChallenge : NSObject, ChallengeProtocol
  • The KeychainHelper class performs RSA export operations to DER and PEM formats that can be used outside iOS for data signing.

    See more

    Declaration

    Swift

    open class KeychainHelper : NSObject
  • The voice biometric challenge prompts the user to verify a phrase. The challenge will record for 10 seconds unless stop is explicily invoked.

    Warning

    Tech-preview not to be used in your code.
    See more

    Declaration

    Swift

    public final class VoiceChallenge : NSObject, ChallengeProtocol, AVAudioRecorderDelegate
  • A class of Generator used to generate the one-time password.

    See more

    Declaration

    Swift

    open class OtpGeneratorContext : NSObject
  • The OAuthToken is a object that stores the access token and optional refresh token for requests to protected resources.

    See more

    Declaration

    Swift

    open class OAuthToken : NSObject, NSCoding
  • The MfaRegistrationContext enables mobile applications to register a users device to IBM Security Access Manager. The registration process requires the mobile application to support QR code scanning.

    See more

    Declaration

    Swift

    public final class MfaRegistrationContext : RegistrationProtocol