public class AADB2COAuth2AuthenticatedPrincipal extends Object implements org.springframework.security.oauth2.core.OAuth2AuthenticatedPrincipal, Serializable
| Constructor and Description |
|---|
AADB2COAuth2AuthenticatedPrincipal(Map<String,Object> headers,
Map<String,Object> attributes,
Collection<org.springframework.security.core.GrantedAuthority> authorities,
String tokenValue) |
AADB2COAuth2AuthenticatedPrincipal(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() |
public AADB2COAuth2AuthenticatedPrincipal(Map<String,Object> headers, Map<String,Object> attributes, Collection<org.springframework.security.core.GrantedAuthority> authorities, String tokenValue)
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()
Copyright © 2021 Microsoft Corporation. All rights reserved.