Typealiases

The following typealiases are available globally.

  • Provides the callback to handle user authentication

    Parameter

    Parameter wasSuccess: Indicates if the callback was a success

    Parameter

    Parameter credentials: The credential data to authenticate the user with

    Declaration

    Swift

    public typealias DerivedCredentialCallback = (wasSuccess: Bool, credentials: CredentialSet?) -> ();

    Parameters

    wasSuccess

    Indicates if the callback was a success

    credentials

    The credential data to authenticate the user with

  • Provides the callback to provide decrypted or signed data

    Parameter

    Parameter wasSuccess: Indicates if the callback was a success

    Parameter

    Parameter data: The data which the operation was performed on

    Declaration

    Swift

    public typealias DerivedCredentialDataCallback = (wasSuccess: Bool, data: NSData?) -> ();

    Parameters

    wasSuccess

    Indicates if the callback was a success

    data

    The data which the operation was performed on