IdTokenPayload
class IdTokenPayload : Equatable
Represents the payload component of the id token obtained via the AppAuth framework.
-
Undocumented
Declaration
Swift
let sidProperty: String
-
denotes when the user was authenticated
Declaration
Swift
let authTimeProperty: Date
-
expiration time identifies the expiration time on or after which the id token must not be accepted for processing
Declaration
Swift
let expProperty: Date
-
Undocumented
Declaration
Swift
let ratProperty: Date
-
issued at claim identifies the time at which the id token was issued
Declaration
Swift
let iatProperty: Date
-
specifies client id
Declaration
Swift
let clientIdProperty: String
-
specifies user id
Declaration
Swift
let userIdProperty: String
-
identifies the principal that is the subject of the id token
Declaration
Swift
let subProperty: String
-
code hash value
Declaration
Swift
let cHashProperty: String
-
identifies the recipients that the id token is intended for
Declaration
Swift
let audProperty: String
-
identifies the principal that issued the id token
Declaration
Swift
let issProperty: String
-
unique identifier for the json web token
Declaration
Swift
let jtiProperty: String
-
string value used to associate a Client session with an id token, and to mitigate replay attacks
Declaration
Swift
let nonceProperty: String
-
init(sid:
authTime: expTime: ratTime: iatTime: clientId: userId: subject: cHash: audience: issuer: jwtId: nonce: ) Undocumented
Declaration
Swift
init(sid: String = "", authTime: Date = Date(timeIntervalSinceReferenceDate: 0), expTime: Date = Date(timeIntervalSinceReferenceDate: 0), ratTime: Date = Date(timeIntervalSinceReferenceDate: 0), iatTime: Date = Date(timeIntervalSinceReferenceDate: 0), clientId: String = "", userId: String = "", subject: String = "", cHash: String = "", audience: String = "", issuer: String = "", jwtId: String = "", nonce: String = "")
-
Implementation of the Equatable protocol, to be able to compare [IdTokenPayload] objects.
Declaration
Swift
static func == (lhs: IdTokenPayload, rhs: IdTokenPayload) -> Bool
Parameters
lhs
first object
rhs
second object
Return Value
Boolean value, true if the objects are equal, false otherwise.