RequestInfo

public class RequestInfo

RequestInfo class holds all information related to an Event. Event information includes:

  • SignatureRequest details
  • Claims shared by user
  • Method of authentication: Face/Pin/Fingerprint
  • Event action taken by the user (Confirmed/Denied) with audit information.
  • The timestamp for the request.

    Declaration

    Swift

    public var requestTime: Date = Date()
  • The timestamp for the response - This will be captured when user takes action (Confirm/Deny event request)

    Declaration

    Swift

    public var responseTime: Date = Date()
  • The callback URL to invoke after acceptance or denial.

    Declaration

    Swift

    public var callbackUrl: String = ""
  • The name of the host requesting the login, for display to the user.

    Declaration

    Swift

    public var hostName: String = ""
  • The 6-character login code for display to the user.

    Declaration

    Swift

    public var loginCode: String = ""
  • The username that was requested to sign.

    Declaration

    Swift

    public var loginHint: String = ""
  • The unique nonce for this login request, as received from the notification or pending request.

    Declaration

    Swift

    public var nonce: String = ""
  • Client App identifier for this request.

    Declaration

    Swift

    public var audience: String = ""
  • Event action taken by the user (Confirmed/Denied) with audit information.

    Declaration

    Swift

    public var actionResult: WalletUtils.RequestResult = WalletUtils.RequestResult.Unknown
  • An array of requested OIDs, in dotted notation.

    Declaration

    Swift

    public var objectIDs: [OIDs.Dotted] = []
  • Enum that specifies how to invoke the callback URL.

    Declaration

    Swift

    public var callbackType: WalletUtils.CallbackType = WalletUtils.CallbackType.UNKNOWN
  • Callback

    Declaration

    Swift

    public var callback: String = ""
  • The URL of the document, or nil if this request is not a document signing request.

    Declaration

    Swift

    public var documentUrl: String = ""
  • Optional signing message for the user.

    Declaration

    Swift

    public var message: String = ""
  • scope values of this request - passed AS-IS from the source

    Declaration

    Swift

    public var scope: String = ""
  • claims sent in the request - passed AS-IS from the source claims will be in JSON encoded string

    Declaration

    Swift

    public var claims: String = ""
  • Claims that are shared by user -> Claim Id (serialNo) in CSV format

    Declaration

    Swift

    public var claimsSharedCSV: String = ""
  • Wallet authentication used by the user - Face/Pin/Fingerprint

    Declaration

    Swift

    public var authMethod: AuthMethod?
  • Default constructor

    Declaration

    Swift

    public init()