iOS SDK API Reference

SKWPeerCredential.h
Go to the documentation of this file.
1 // SKWPeerCredential.h
3 // SkyWay SDK
5 #import <Foundation/Foundation.h>
6 
11 @interface SKWPeerCredential : NSObject
15 
19 @property (nonatomic) NSUInteger timestamp;
20 
24 @property (nonatomic) NSUInteger ttl;
25 
29 @property (nonatomic, copy) NSString* authToken;
30 
31 @end
SKWPeerCredential::ttl
NSUInteger ttl
Time to live; The credential expires at timestamp + ttl.
Definition: SKWPeerCredential.h:24
SKWPeerCredential
The credential used to authenticate peer.
Definition: SKWPeerCredential.h:14
SKWPeerCredential::timestamp
NSUInteger timestamp
Current UNIX timestamp.
Definition: SKWPeerCredential.h:19
SKWPeerCredential::authToken
NSString * authToken
Credential token calculated with HMAC.
Definition: SKWPeerCredential.h:29