Class OidcScopeParser
java.lang.Object
org.mockserver.authentication.oidc.OidcScopeParser
Normalises an OIDC token's granted scopes into a flat
Set of strings.
The configured scope claim (default "scope") is read first: a String value is
split on whitespace (OAuth2 scope convention), an array/collection value is
flattened element-by-element. This handles the common scope (space-delimited),
scp (array), roles (array) and groups (array) shapes uniformly.
-
Method Summary
Modifier and TypeMethodDescriptionparseScopes(com.nimbusds.jwt.JWTClaimsSet claimsSet, String scopeClaim)
-
Method Details
-
parseScopes
-