public class AADOAuth2AuthenticatedPrincipal extends Object implements org.springframework.security.oauth2.core.OAuth2AuthenticatedPrincipal, Serializable
| Constructor and Description |
|---|
AADOAuth2AuthenticatedPrincipal(Map<String,Object> headers,
Map<String,Object> attributes,
Collection<org.springframework.security.core.GrantedAuthority> authorities,
String tokenValue,
String name) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAttributes() |
Collection<? extends org.springframework.security.core.GrantedAuthority> |
getAuthorities() |
Object |
getClaim(String name) |
Map<String,Object> |
getClaims() |
Map<String,Object> |
getHeaders() |
String |
getIssuer() |
com.nimbusds.jwt.JWTClaimsSet |
getJwtClaimsSet() |
String |
getName() |
String |
getSubject() |
String |
getTenantId() |
String |
getTokenValue() |
boolean |
isPersonalAccount() |
public Map<String,Object> getAttributes()
getAttributes in interface org.springframework.security.oauth2.core.OAuth2AuthenticatedPrincipalpublic Collection<? extends org.springframework.security.core.GrantedAuthority> getAuthorities()
getAuthorities in interface org.springframework.security.oauth2.core.OAuth2AuthenticatedPrincipalpublic String getName()
getName in interface org.springframework.security.core.AuthenticatedPrincipalpublic String getTokenValue()
public com.nimbusds.jwt.JWTClaimsSet getJwtClaimsSet()
public String getIssuer()
public String getSubject()
public String getTenantId()
public boolean isPersonalAccount()
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.