AuthInfo
Authentication information containing token claims....
Declaration
struct AuthInfoSummary
Authentication information containing token claims. Contains parsed JWT claims including token string, expiration, user information, and other standard JWT fields.
Constructors
init?(fromC cValue: ARDK_AuthManager_AuthInfo)
Properties
| Name | Type | Summary |
|---|---|---|
| let audience | String | Audience claim. |
| var description | String | A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the String(describing:)initializer. This initializer works with any type, and uses the custom description property for types that conform toCustomStringConvertible:struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of p to a string in the assignment to s uses thePoint type's description property. |
| let email | String | Email claim. |
| let expirationTime | Int32 | Expiration time (seconds since epoch). |
| let issuedAtTime | Int32 | Issued at time (seconds since epoch). |
| let issuer | String | Issuer claim. |
| let name | String | Name claim. |
| let subject | String | Subject claim. |
| let token | String | Raw JWT token string; may be empty. |
| let userId | String | User ID claim. |
Relationships
conforms to: Swift.CustomStringConvertible