Android SDK API Reference

Public Member Functions | Public Attributes | List of all members
io.skyway.Peer.PeerCredential Class Reference

The credential used to authenticate peer. More...

Public Member Functions

 PeerCredential ()
 The Constructor.
 

Public Attributes

long timestamp
 Current UNIX timestamp.
 
long ttl
 Time to live; The credential expires at timestamp + ttl. More...
 
String authToken
  Credential token calculated with HMAC.
 

Detailed Description

The credential used to authenticate peer.

Member Data Documentation

◆ ttl

long io.skyway.Peer.PeerCredential.ttl

Time to live; The credential expires at timestamp + ttl.

The range of possible values for ttl is 600 to 90,000.