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
Constructors -
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, setTokenExpirationAdvanceMethods inherited from class org.pac4j.core.profile.jwt.AbstractJwtProfile
getAudience, getExpirationDate, getIssuedAt, getIssuer, getNotBefore, getSubject, toStringMethods inherited from class org.pac4j.core.profile.CommonProfile
getAttributeAsDate, getAttributeAsString, getAttributeAsType, getEmail, getFamilyName, getGender, getLocaleMethods 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
Stringobject
-
getOid
getOid.
- Returns:
- a
Stringobject
-
getTid
getTid.
- Returns:
- a
Stringobject
-
getVer
getVer.
- Returns:
- a
Stringobject
-
getUniqueName
getUniqueName.
- Returns:
- a
Stringobject
-
getIpaddr
getIpaddr.
- Returns:
- a
Stringobject
-
getUpn
getUpn.
- Returns:
- a
Stringobject
-
getUsername
- Specified by:
getUsernamein interfaceorg.pac4j.core.profile.UserProfile- Overrides:
getUsernamein classOidcProfile
-