Interface OauthRouteUrlBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method 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
    • Method Detail

      • buildLoginUrl

        java.net.URL buildLoginUrl​(@Nullable
                                   io.micronaut.http.HttpRequest originating,
                                   java.lang.String providerName)
        Builds the URL to start the OAuth 2.0 authorization code flow
        Parameters:
        originating - The originating request
        providerName - The oauth provider name
        Returns:
        The URL
      • buildCallbackUrl

        java.net.URL buildCallbackUrl​(@Nullable
                                      io.micronaut.http.HttpRequest originating,
                                      java.lang.String providerName)
        Builds the URL to receive the OAuth 2.0 authorization callback request
        Parameters:
        originating - The originating request
        providerName - The oauth provider name
        Returns:
        The URL
      • buildLoginUri

        java.net.URI buildLoginUri​(java.lang.String providerName)
        Builds the URI to start the OAuth 2.0 authorization code flow
        Parameters:
        providerName - The oauth provider name
        Returns:
        The URL
      • buildCallbackUri

        java.net.URI buildCallbackUri​(java.lang.String providerName)
        Builds the URI to receive the OAuth 2.0 authorization callback request
        Parameters:
        providerName - The oauth provider name
        Returns:
        The URL