Class DefaultEndSessionCallbackUrlBuilder<T>
java.lang.Object
io.micronaut.security.oauth2.endpoint.endsession.response.DefaultEndSessionCallbackUrlBuilder<T>
- Type Parameters:
T
- Request
- All Implemented Interfaces:
EndSessionCallbackUrlBuilder<T>
@Requires(beans={AbsoluteUrlBuilder.class,EndSessionConfiguration.class})
@Singleton
public class DefaultEndSessionCallbackUrlBuilder<T>
extends Object
implements EndSessionCallbackUrlBuilder<T>
The default implementation of
EndSessionCallbackUrlBuilder
.- Since:
- 1.2.0
- Author:
- James Kleeh
-
Constructor Summary
ConstructorDescriptionDefaultEndSessionCallbackUrlBuilder
(AbsoluteUrlBuilder<T> absoluteUrlBuilder, EndSessionConfiguration endSessionConfiguration) -
Method Summary
-
Constructor Details
-
DefaultEndSessionCallbackUrlBuilder
public DefaultEndSessionCallbackUrlBuilder(AbsoluteUrlBuilder<T> absoluteUrlBuilder, EndSessionConfiguration endSessionConfiguration) - Parameters:
absoluteUrlBuilder
- The URL builderendSessionConfiguration
- The end session configuration
-
-
Method Details
-
build
Description copied from interface:EndSessionCallbackUrlBuilder
Builds the URL to redirect back to.- Specified by:
build
in interfaceEndSessionCallbackUrlBuilder<T>
- Parameters:
originating
- The originating request- Returns:
- The URL
-