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
,UserProfile
public class AzureAdProfile extends OidcProfile
This class is the user profile for Azure AD (using OpenID Connect protocol) with appropriate getters.
It is returned by the
AzureAdClient
.- Version:
- 1.9.0
- Author:
- Jerome Leleu
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.pac4j.core.profile.BasicUserProfile
logger, SEPARATOR
-
-
Constructor Summary
Constructors Constructor Description AzureAdProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getIdp()
String
getIpaddr()
String
getOid()
String
getTid()
String
getUniqueName()
String
getUpn()
String
getUsername()
String
getVer()
-
Methods inherited from class org.pac4j.oidc.profile.OidcProfile
clearSensitiveData, getAccessToken, getAcr, getAmr, getAuthTime, getAzp, getDisplayName, getEmailVerified, getFirstName, getIdToken, getIdTokenString, getLocation, getMiddleName, getNickname, getNonce, getPhoneNumber, getPhoneNumberVerified, getPictureUrl, getProfileUrl, getRefreshToken, getTokenExpirationAdvance, getUpdatedAt, isExpired, setAccessToken, setIdTokenString, setRefreshToken, setTokenExpirationAdvance
-
Methods inherited from class org.pac4j.core.profile.jwt.AbstractJwtProfile
getAudience, getExpirationDate, getIssuedAt, getIssuer, getNotBefore, getSubject
-
Methods inherited from class org.pac4j.core.profile.CommonProfile
getEmail, getFamilyName, getGender, getLocale
-
Methods inherited from class org.pac4j.core.profile.BasicUserProfile
addAttribute, addAttributes, addAuthenticationAttribute, addAuthenticationAttributes, addPermission, addPermissions, addRole, addRoles, build, build, containsAttribute, containsAuthenicationAttribute, getAttribute, getAttribute, getAttributes, getAuthenticationAttribute, getAuthenticationAttribute, getAuthenticationAttributes, getClientName, getId, getLinkedId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, removeAttribute, removeAuthenticationAttribute, setClientName, setId, setLinkedId, setPermissions, setRemembered, setRoles, toString, writeExternal
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.pac4j.core.profile.UserProfile
asPrincipal
-
-
-
-
Method Detail
-
getIdp
public String getIdp()
-
getOid
public String getOid()
-
getTid
public String getTid()
-
getVer
public String getVer()
-
getUniqueName
public String getUniqueName()
-
getIpaddr
public String getIpaddr()
-
getUpn
public String getUpn()
-
getUsername
public String getUsername()
- Specified by:
getUsername
in interfaceUserProfile
- Overrides:
getUsername
in classOidcProfile
-
-