OpenIDClaim

Standard claims as described in spec: http://openid.net/specs/openid-connect-core-1_0.html#StandardClaims

  • sub

    Subject - Identifier for the End-User at the Issuer.

    Declaration

    Swift

    public var sub: String?
  • End-User’s full name in displayable form including all name parts, possibly including titles and suffixes, ordered according to the End-User’s locale and preferences.

    Declaration

    Swift

    public var name: String?
  • Given name(s) or first name(s) of the End-User.

    Declaration

    Swift

    public var givenName: String?
  • Surname(s) or last name(s) of the End-User.

    Declaration

    Swift

    public var familyName: String?
  • Middle name(s) of the End-User.

    Declaration

    Swift

    public var middleName: String?
  • Casual name of the End-User that may or may not be the same as the given_name.

    Declaration

    Swift

    public var nickname: String?
  • Shorthand name by which the End-User wishes to be referred to at the RP, such as janedoe or j.doe.

    Declaration

    Swift

    public var preferredUsername: String?
  • URL of the End-User’s profile page.

    Declaration

    Swift

    public var profile: String?
  • URL of the End-User’s profile picture. This URL MUST refer to an image file (for example, a PNG, JPEG, or GIF image file), rather than to a Web page containing an image.

    Declaration

    Swift

    public var picture: String?
  • URL of the End-User’s Web page or blog. This Web page SHOULD contain information published by the End-User or an organization that the End-User is affiliated with.

    Declaration

    Swift

    public var website: String?
  • End-User’s preferred e-mail address.

    Declaration

    Swift

    public var email: String?
  • True if the End-User’s e-mail address has been verified; otherwise false.

    Declaration

    Swift

    public var emailVerified: Bool?
  • End-User’s gender. Values defined by this specification are female and male. Other values MAY be used when neither of the defined values are applicable.

    Declaration

    Swift

    public var gender: String?
  • End-User’s birthday, represented as an ISO 8601:2004 [ISO8601‑2004] YYYY-MM-DD format.

    Declaration

    Swift

    public var birthdate: String?
  • String from zoneinfo [zoneinfo] time zone database representing the End-User’s time zone. For example, Europe/Paris or America/Los_Angeles.

    Declaration

    Swift

    public var zoneinfo: String?
  • [ISO3166‑1] country code in uppercase, separated by a dash. For example, en-US or fr-CA.

    Declaration

    Swift

    public var locale: String?
  • End-User’s preferred telephone number.

    Declaration

    Swift

    public var phoneNumber: String?
  • True if the End-User’s phone number has been verified; otherwise false.

    Declaration

    Swift

    public var phoneNumberVerified: Bool?
  • End-User’s preferred postal address.

    Declaration

    Swift

    public var address: [String: AnyObject?]?
  • Time the End-User’s information was last updated.

    Declaration

    Swift

    public var updatedAt: Int?
  • Undocumented

  • hd

    Undocumented

  • Display all the claims.

    Declaration

    Swift

    public var description: String
  • Initialize an OpenIDClaim from a dictionary. all information not available are optional values set to .None.

    Declaration

    Swift

    public init(fromDict:[String: AnyObject])