Interface OAuth2TokenRevocationConfiguration
-
- All Superinterfaces:
net.shibboleth.idp.authn.config.AuthenticationProfileConfiguration,Component,net.shibboleth.idp.profile.config.ConditionalProfileConfiguration,IdentifiedComponent,OAuth2ClientAuthenticableProfileConfiguration,OAuth2ProfileConfiguration,OAuth2TokenValidatingProfileConfiguration,net.shibboleth.idp.profile.config.OverriddenIssuerProfileConfiguration,net.shibboleth.idp.profile.config.ProfileConfiguration
public interface OAuth2TokenRevocationConfiguration extends OAuth2TokenValidatingProfileConfiguration
Configuration for the OAuth 2.0 Token Revocation profile.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classOAuth2TokenRevocationConfiguration.OAuth2TokenRevocationMethodEnumeration of the OAuth2 token revocation methods.
-
Field Summary
Fields Modifier and Type Field Description static StringPROFILE_IDID for this profile configuration.static StringPROTOCOL_URIOAuth2 Token Revocation URI.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DurationgetRevocationLifetime(ProfileRequestContext profileRequestContext)Get revocation lifetime.OAuth2TokenRevocationConfiguration.OAuth2TokenRevocationMethodgetRevocationMethod(ProfileRequestContext profileRequestContext)Get the revocation method used when revoking a token.-
Methods inherited from interface net.shibboleth.idp.authn.config.AuthenticationProfileConfiguration
getAuthenticationFlows, getDefaultAuthenticationMethods, getPostAuthenticationFlows, getProxyCount, isForceAuthn, isLocal
-
Methods inherited from interface net.shibboleth.idp.profile.config.ConditionalProfileConfiguration
getActivationCondition
-
Methods inherited from interface net.shibboleth.utilities.java.support.component.IdentifiedComponent
getId
-
Methods inherited from interface net.shibboleth.oidc.profile.oauth2.config.OAuth2ClientAuthenticableProfileConfiguration
getClaimsValidator, getTokenEndpointAuthMethods
-
Methods inherited from interface net.shibboleth.oidc.profile.oauth2.config.OAuth2TokenValidatingProfileConfiguration
getIssuedClaimsValidator
-
-
-
-
Field Detail
-
PROTOCOL_URI
@Nonnull @NotEmpty static final String PROTOCOL_URI
OAuth2 Token Revocation URI.- See Also:
- Constant Field Values
-
PROFILE_ID
@Nonnull @NotEmpty static final String PROFILE_ID
ID for this profile configuration.- See Also:
- Constant Field Values
-
-
Method Detail
-
getRevocationMethod
OAuth2TokenRevocationConfiguration.OAuth2TokenRevocationMethod getRevocationMethod(@Nullable ProfileRequestContext profileRequestContext)
Get the revocation method used when revoking a token.- Parameters:
profileRequestContext- profile request context.- Returns:
- The revocation method used when revoking a token.
- Since:
- 2.1.0
-
getRevocationLifetime
@Positive @Nonnull Duration getRevocationLifetime(@Nullable ProfileRequestContext profileRequestContext)
Get revocation lifetime.Defaults to 6 hours.
- Parameters:
profileRequestContext- profile request context- Returns:
- revocation lifetime
- Since:
- 2.1.0
-
-