Package org.pac4j.oidc.profile.azuread
Class AzureAdProfile
java.lang.Object
org.pac4j.core.profile.BasicUserProfile
org.pac4j.core.profile.CommonProfile
org.pac4j.core.profile.jwt.AbstractJwtProfile
org.pac4j.oidc.profile.OidcProfile
org.pac4j.oidc.profile.azuread.AzureAdProfile
- All Implemented Interfaces:
Externalizable
,Serializable
,org.pac4j.core.profile.UserProfile
This class is the user profile for Azure AD (using OpenID Connect protocol) with appropriate getters.
It is returned by the AzureAd2Client
.
- Version:
- 1.9.0
- Author:
- Jerome Leleu
- See Also:
-
Field Summary
Fields inherited from class org.pac4j.core.profile.BasicUserProfile
logger
-
Constructor Summary
-
Method Summary
Methods inherited from class org.pac4j.oidc.profile.OidcProfile
getAccessToken, getAcr, getAmr, getAuthTime, getAzp, getDisplayName, getEmailVerified, getExpiration, getFirstName, getIdToken, getIdTokenString, getLocation, getMiddleName, getNickname, getNonce, getPhoneNumber, getPhoneNumberVerified, getPictureUrl, getProfileUrl, getRefreshToken, getTokenExpirationAdvance, getUpdatedAt, isExpired, removeLoginData, setAccessToken, setExpiration, setIdTokenString, setRefreshToken, setTokenExpirationAdvance
Methods inherited from class org.pac4j.core.profile.jwt.AbstractJwtProfile
getAudience, getExpirationDate, getIssuedAt, getIssuer, getNotBefore, getSubject, toString
Methods inherited from class org.pac4j.core.profile.CommonProfile
getAttributeAsDate, getAttributeAsString, getAttributeAsType, getEmail, getFamilyName, getGender, getLocale
Methods inherited from class org.pac4j.core.profile.BasicUserProfile
addAttribute, addAttributes, addAuthenticationAttribute, addAuthenticationAttributes, addRole, addRoles, asPrincipal, build, build, canEqual, containsAttribute, containsAuthenticationAttribute, equals, extractAttributeValues, getAttribute, getAttribute, getAttributes, getAuthenticationAttribute, getAuthenticationAttribute, getAuthenticationAttributes, getClientName, getId, getLinkedId, getRoles, getTypedId, hashCode, isRemembered, readExternal, removeAttribute, removeAuthenticationAttribute, setClientName, setId, setLinkedId, setRemembered, setRoles, writeExternal
-
Constructor Details
-
AzureAdProfile
public AzureAdProfile()
-
-
Method Details
-
getIdp
getIdp.
- Returns:
- a
String
object
-
getOid
getOid.
- Returns:
- a
String
object
-
getTid
getTid.
- Returns:
- a
String
object
-
getVer
getVer.
- Returns:
- a
String
object
-
getUniqueName
getUniqueName.
- Returns:
- a
String
object
-
getIpaddr
getIpaddr.
- Returns:
- a
String
object
-
getUpn
getUpn.
- Returns:
- a
String
object
-
getUsername
- Specified by:
getUsername
in interfaceorg.pac4j.core.profile.UserProfile
- Overrides:
getUsername
in classOidcProfile
-