public interface AuthoritiesMapper
| Modifier and Type | Method and Description |
|---|---|
default Set<org.springframework.security.core.GrantedAuthority> |
mapClaimsToAuthorities(String providerId,
List<String> claims)
Map the provided claims to authorities.
|
Set<org.springframework.security.core.GrantedAuthority> |
mapScopesToAuthorities(String providerId,
Set<String> scopes,
String token)
Map the provided scopes to authorities.
|
Set<org.springframework.security.core.GrantedAuthority> mapScopesToAuthorities(String providerId, Set<String> scopes, String token)
providerId - If null, then the default providerId is usedscopes - the scopes to maptoken - some implementation may need to make additional requestsdefault Set<org.springframework.security.core.GrantedAuthority> mapClaimsToAuthorities(String providerId, List<String> claims)
providerId - If null, then the default providerId is usedclaims - the claims to mapCopyright © 2023 Pivotal Software, Inc.. All rights reserved.