Class RedirectAuthHandler

    • Field Detail

      • __TYPE_ARG

        public static final io.smallrye.mutiny.vertx.TypeArg<RedirectAuthHandler> __TYPE_ARG
      • DEFAULT_LOGIN_REDIRECT_URL

        public static final String DEFAULT_LOGIN_REDIRECT_URL
        Default path the user will be redirected to
        See Also:
        Constant Field Values
      • DEFAULT_RETURN_URL_PARAM

        public static final String DEFAULT_RETURN_URL_PARAM
        Default name of param used to store return url information in session
        See Also:
        Constant Field Values
    • Constructor Detail

      • RedirectAuthHandler

        public RedirectAuthHandler​(io.vertx.ext.web.handler.RedirectAuthHandler delegate)
      • RedirectAuthHandler

        public RedirectAuthHandler​(Object delegate)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • create

        public static RedirectAuthHandler create​(io.vertx.mutiny.ext.auth.authentication.AuthenticationProvider authProvider)
        Parameters:
        authProvider - the auth service to use
        Returns:
        the handler
      • create

        public static RedirectAuthHandler create​(io.vertx.mutiny.ext.auth.authentication.AuthenticationProvider authProvider,
                                                 String loginRedirectURL)
        Parameters:
        authProvider - the auth service to use
        loginRedirectURL - the url to redirect the user to
        Returns:
        the handler
      • create

        public static RedirectAuthHandler create​(io.vertx.mutiny.ext.auth.authentication.AuthenticationProvider authProvider,
                                                 String loginRedirectURL,
                                                 String returnURLParam)
        Parameters:
        authProvider - the auth service to use
        loginRedirectURL - the url to redirect the user to
        returnURLParam - the name of param used to store return url information in session
        Returns:
        the handler
      • newInstance

        public static RedirectAuthHandler newInstance​(io.vertx.ext.web.handler.RedirectAuthHandler arg)