Class GrantTypesLookupFunction
- java.lang.Object
-
- net.shibboleth.idp.profile.context.navigate.AbstractRelyingPartyLookupFunction<Set<com.nimbusds.oauth2.sdk.GrantType>>
-
- net.shibboleth.oidc.profile.config.navigate.GrantTypesLookupFunction
-
- All Implemented Interfaces:
Function<ProfileRequestContext,Set<com.nimbusds.oauth2.sdk.GrantType>>,ContextDataLookupFunction<ProfileRequestContext,Set<com.nimbusds.oauth2.sdk.GrantType>>
public class GrantTypesLookupFunction extends net.shibboleth.idp.profile.context.navigate.AbstractRelyingPartyLookupFunction<Set<com.nimbusds.oauth2.sdk.GrantType>>
A function that obtainsOAuth2TokenConfiguration.getGrantTypes(ProfileRequestContext)if such a profile is available from aRelyingPartyContextobtained via a lookup function, by default a child of theProfileRequestContext. That result is then transformed into a list ofGrantTypes.If a specific setting is unavailable, a null value is returned.
-
-
Constructor Summary
Constructors Constructor Description GrantTypesLookupFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<com.nimbusds.oauth2.sdk.GrantType>apply(ProfileRequestContext input)-
Methods inherited from class net.shibboleth.idp.profile.context.navigate.AbstractRelyingPartyLookupFunction
getRelyingPartyContextLookupStrategy, setRelyingPartyContextLookupStrategy
-
-
-
-
Method Detail
-
apply
@Nullable public Set<com.nimbusds.oauth2.sdk.GrantType> apply(@Nullable ProfileRequestContext input)
-
-