HID APPROVE SDK  5.13
HID Approve SDK for iOS/macOS
 All Classes Files Functions Variables Enumerations Enumerator Properties Pages
<HIDServerAction> Protocol Reference

Encapsulates an action extracted from an encrypted server message. More...

#import <HIDServerAction.h>

Inheritance diagram for <HIDServerAction>:
<HIDTransaction>

Instance Methods

(NSString *) - getAction:
 Returns the nature of the action. More...
 
(NSDate *) - getDate:
 Retrieves the date associated with requested action. More...
 
(NSDate *) - getExpiryDate:
 Retrieves the expiration date associated with requested action. More...
 
(NSString *) - getPayload:
 Returns an optional payload related to the request action. More...
 
(NSString *) - toString
 Returns the message information for action. More...
 

Detailed Description

Encapsulates an action extracted from an encrypted server message.

Method Documentation

- (NSString*) getAction: (NSError **)  error

Returns the nature of the action.

Parameters
errorerror details. It may be nil.

Possible error codes are:

Returns
Retrieves the action keyword, nil if not set yet or an error occurs.

Reimplemented in <HIDTransaction>.

- (NSDate*) getDate: (NSError **)  error

Retrieves the date associated with requested action.

Parameters
errorerror details. It may be nil.

Possible error codes are:

Returns
the date, nil if not provided or an error occurs.

Reimplemented in <HIDTransaction>.

- (NSDate*) getExpiryDate: (NSError **)  error

Retrieves the expiration date associated with requested action.

Parameters
errorerror details. It may be nil.

Possible error codes are:

Returns
the date, nil if not provided or an error occurs.

Reimplemented in <HIDTransaction>.

- (NSString*) getPayload: (NSError **)  error

Returns an optional payload related to the request action.

Parameters
errorerror details. It may be nil.

Possible error codes are:

Returns
payload related to the request action., nil if not set yet or an error occurs.
- (NSString*) toString

Returns the message information for action.

Returns
Message contents

Reimplemented in <HIDTransaction>.