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:
java.io.Externalizable
,java.io.Serializable
,org.pac4j.core.profile.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
-
-
Constructor Summary
Constructors Constructor Description AzureAdProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getIdp()
java.lang.String
getIpaddr()
java.lang.String
getOid()
java.lang.String
getTid()
java.lang.String
getUniqueName()
java.lang.String
getUpn()
java.lang.String
getUsername()
java.lang.String
getVer()
-
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, 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
getAttributeAsDate, getEmail, getFamilyName, getGender, getLocale
-
Methods inherited from class org.pac4j.core.profile.BasicUserProfile
addAttribute, addAttributes, addAuthenticationAttribute, addAuthenticationAttributes, addPermission, addPermissions, addRole, addRoles, asPrincipal, build, build, containsAttribute, containsAuthenicationAttribute, extractAttributeValues, getAttribute, getAttribute, getAttributes, getAuthenticationAttribute, getAuthenticationAttribute, getAuthenticationAttributes, getClientName, getId, getLinkedId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, removeAttribute, removeAuthenticationAttribute, setClientName, setId, setLinkedId, setPermissions, setRemembered, setRoles, toString, writeExternal
-
-
-
-
Method Detail
-
getIdp
public java.lang.String getIdp()
-
getOid
public java.lang.String getOid()
-
getTid
public java.lang.String getTid()
-
getVer
public java.lang.String getVer()
-
getUniqueName
public java.lang.String getUniqueName()
-
getIpaddr
public java.lang.String getIpaddr()
-
getUpn
public java.lang.String getUpn()
-
getUsername
public java.lang.String getUsername()
- Specified by:
getUsername
in interfaceorg.pac4j.core.profile.UserProfile
- Overrides:
getUsername
in classOidcProfile
-
-