@DefaultImplementation(value=DefaultOauthRouteUrlBuilder.class) public interface OauthRouteUrlBuilder extends AbsoluteUrlBuilder
Modifier and Type | Method and Description |
---|---|
java.net.URI |
buildCallbackUri(java.lang.String providerName)
Builds the URI to receive the OAuth 2.0 authorization callback request
|
java.net.URL |
buildCallbackUrl(io.micronaut.http.HttpRequest originating,
java.lang.String providerName)
Builds the URL to receive the OAuth 2.0 authorization callback request
|
java.net.URI |
buildLoginUri(java.lang.String providerName)
Builds the URI to start the OAuth 2.0 authorization code flow
|
java.net.URL |
buildLoginUrl(io.micronaut.http.HttpRequest originating,
java.lang.String providerName)
Builds the URL to start the OAuth 2.0 authorization code flow
|
buildUrl
java.net.URL buildLoginUrl(@Nullable io.micronaut.http.HttpRequest originating, java.lang.String providerName)
originating
- The originating requestproviderName
- The oauth provider namejava.net.URL buildCallbackUrl(@Nullable io.micronaut.http.HttpRequest originating, java.lang.String providerName)
originating
- The originating requestproviderName
- The oauth provider namejava.net.URI buildLoginUri(java.lang.String providerName)
providerName
- The oauth provider namejava.net.URI buildCallbackUri(java.lang.String providerName)
providerName
- The oauth provider name