Package io.micronaut.security.oauth2.url
Interface OauthRouteUrlBuilder
- All Superinterfaces:
AbsoluteUrlBuilder
- All Known Implementing Classes:
DefaultOauthRouteUrlBuilder
@DefaultImplementation(DefaultOauthRouteUrlBuilder.class)
public interface OauthRouteUrlBuilder
extends AbsoluteUrlBuilder
Responsible for building URLs to routes the client will receive.
requests on.
- Since:
- 1.2.0
- Author:
- James Kleeh
-
Method Summary
Modifier and TypeMethodDescriptionbuildCallbackUri
(String providerName) Builds the URI to receive the OAuth 2.0 authorization callback request.buildCallbackUrl
(io.micronaut.http.HttpRequest<?> originating, String providerName) Builds the URL to receive the OAuth 2.0 authorization callback request.buildLoginUri
(String providerName) Builds the URI to start the OAuth 2.0 authorization code flow.buildLoginUrl
(io.micronaut.http.HttpRequest<?> originating, String providerName) Builds the URL to start the OAuth 2.0 authorization code flow.Methods inherited from interface io.micronaut.security.oauth2.url.AbsoluteUrlBuilder
buildUrl
-
Method Details
-
buildLoginUrl
Builds the URL to start the OAuth 2.0 authorization code flow.- Parameters:
originating
- The originating requestproviderName
- The oauth provider name- Returns:
- The URL
-
buildCallbackUrl
Builds the URL to receive the OAuth 2.0 authorization callback request.- Parameters:
originating
- The originating requestproviderName
- The oauth provider name- Returns:
- The URL
-
buildLoginUri
Builds the URI to start the OAuth 2.0 authorization code flow.- Parameters:
providerName
- The oauth provider name- Returns:
- The URL
-
buildCallbackUri
Builds the URI to receive the OAuth 2.0 authorization callback request.- Parameters:
providerName
- The oauth provider name- Returns:
- The URL
-