IdTokenHeader
class IdTokenHeader : Equatable
Represents the header component of the id token obtained via the AppAuth framework.
-
is a hint indicating which key was used to secure the json web signature
Declaration
Swift
let kidProperty: String -
identifies the cryptographic algorithm used to secure the json web signature
Declaration
Swift
let algProperty: String -
Initialises IdTokenHeader object
Declaration
Swift
init(kid: String = "", alg: String = "")Parameters
kidkey identifier
algalgorithm
-
Implementation of the Equatable protocol, to be able to compare [IdTokenHeader] objects.
Declaration
Swift
static func == (lhs: IdTokenHeader, rhs: IdTokenHeader) -> BoolParameters
lhsfirst object
rhssecond object
Return Value
Boolean value, true if the objects are equal, false otherwise.
IdTokenHeader Class Reference