public final class StandardClaims extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ADDRESS
End-User's preferred postal address.
|
static String |
BIRTHDATE
End-User's birthday, represented as an ISO 8601:2004 [ISO8601-2004]
YYYY-MM-DD format.
|
static String |
EMAIL
End-User's preferred e-mail address.
|
static String |
EMAIL_VERIFIED
True if the End-User's e-mail address has been verified; otherwise
false.
|
static String |
FAMILY_NAME
Surname(s) or last name(s) of the End-User.
|
static String |
GENDER
End-User's gender.
|
static String |
GIVEN_NAME
Given name(s) or first name(s) of the End-User.
|
static String |
LOCALE
End-User's locale, represented as a BCP47 [RFC5646] language tag.
|
static String |
MIDDLE_NAME
Middle name(s) of the End-User.
|
static String |
NAME
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.
|
static String |
NICKNAME
Casual name of the End-User that may or may not be the same as
the given_name.
|
static String |
PHONE_NUMBER
End-User's preferred telephone number.
|
static String |
PHONE_NUMBER_VERIFIED
True if the End-User's phone number has been verified; otherwise
false.
|
static String |
PICTURE
URL of the End-User's profile picture.
|
static String |
PREFERRED_USERNAME
Shorthand name by which the End-User wishes to be referred to at
the RP, such as janedoe or j.doe.
|
static String |
PROFILE
URL of the End-User's profile page.
|
static String |
SUB
Subject - Identifier for the End-User at the Issuer.
|
static String |
UPDATED_AT
Time the End-User's information was last updated.
|
static String |
WEBSITE
URL of the End-User's Web page or blog.
|
static String |
ZONEINFO
String from zoneinfo [zoneinfo] time zone database representing
the End-User's time zone.
|
| Modifier and Type | Method and Description |
|---|---|
static SortedSet<String> |
getStandardClaims()
Get the claim list described in
"OpenID Connect Core 1.0, 5.1. Standard Claims".
|
static boolean |
isStandardClaim(String claimName)
Check if the given claim name is in the list described in
"OpenID Connect Core 1.0, 5.1. Standard Claims".
|
static int |
toBits(Set<String> set) |
static Set<String> |
toSet(int bits) |
public static final String SUB
"sub", string.
public static final String NAME
"name", string.
public static final String GIVEN_NAME
"given_name", string.
public static final String FAMILY_NAME
"family_name", string.
public static final String MIDDLE_NAME
"middle_name", string.
public static final String NICKNAME
"nickname", string.
public static final String PREFERRED_USERNAME
"preferred_username", string.
public static final String PROFILE
"profile", string.
public static final String PICTURE
"picture", string.
public static final String WEBSITE
"website", string.
public static final String EMAIL
"email", string.
public static final String EMAIL_VERIFIED
"email_verified", boolean.
public static final String GENDER
"gender", string.
public static final String BIRTHDATE
"birthdate", string.
public static final String ZONEINFO
"zoneinfo", string.
public static final String LOCALE
"locale", string.
public static final String PHONE_NUMBER
"phone_number", string.
public static final String PHONE_NUMBER_VERIFIED
"phone_number_verified", boolean.
public static final String ADDRESS
"address", JSON object.
public static final String UPDATED_AT
"updated_at", number.
public static boolean isStandardClaim(String claimName)
public static SortedSet<String> getStandardClaims()
Copyright © 2019. All rights reserved.