Inherits from QBCEntity : NSObject
Conforms to NSCoding
NSCopying
Declared in QBASession.h

Overview

QBASession class interface. This class represents session details.

Tasks

  •   token

    Unique auto generated sequence of numbers which identify API User as the legitimate user of our system. It is used in relatively short periods of time and can be easily changed. We grant API Users some rights after authentication and check them based on this token.

    property
  •   applicationID

    Application identifier.

    property
  •   userID

    User identifier.

    property
  •   deviceID

    Device identifier.

    property
  •   timestamp

    Unix Timestamp.

    property
  •   nonce

    Unique Random Value.

    property

Properties

applicationID

@property (nonatomic, assign) NSUInteger applicationID
Discussion

Application identifier.

Declared In

QBASession.h

deviceID

@property (nonatomic, assign) NSUInteger deviceID
Discussion

Device identifier.

Declared In

QBASession.h

nonce

@property (nonatomic, assign) NSInteger nonce
Discussion

Unique Random Value.

Note: Requests with the same timestamp and same value for nonce parameter can not be send twice.

Declared In

QBASession.h

timestamp

@property (nonatomic, assign) NSUInteger timestamp
Discussion

Unix Timestamp.

Note: It shouldn’t be differ from time provided by NTP more than 10 minutes. We suggest you to synchronize time on your devices with NTP service.

Declared In

QBASession.h

token

@property (nonatomic, copy, nullable) NSString *token
Discussion

Unique auto generated sequence of numbers which identify API User as the legitimate user of our system. It is used in relatively short periods of time and can be easily changed. We grant API Users some rights after authentication and check them based on this token.

Declared In

QBASession.h

userID

@property (nonatomic, assign) NSUInteger userID
Discussion

User identifier.

Declared In

QBASession.h