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

Overview

This class represents session information.

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

    Applicarion identifier

    property
  •   userID

    User identifier

    property
  •   deviceID

    Device identifier

    property
  •   timestamp

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

    property
  •   nonce

    Unique Random Value. Requests with the same timestamp and same value for nonce parameter can not be send twice.

    property

Properties

applicationID

@property (nonatomic, assign) NSUInteger applicationID
Discussion

Applicarion 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. 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. It shouldn’t be differ from time provided by NTP more than 10 minutes. We suggest you synchronize time on your devices with NTP service.

Declared In

QBASession.h

token

@property (nonatomic, retain) 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