Class: RedirectAuthHandler

vertx-web-js/redirect_auth_handler~ RedirectAuthHandler

new RedirectAuthHandler()

An auth handler that's used to handle auth by redirecting user to a custom login page.
Source:

Methods

addAuthorities(authorities) → {AuthHandler}

Add a set of required authorities for this auth handler
Parameters:
Name Type Description
authorities Array.<string> the set of authorities
Source:
Returns:
a reference to this, so the API can be used fluently
Type
AuthHandler

addAuthority(authority) → {AuthHandler}

Add a required authority for this auth handler
Parameters:
Name Type Description
authority string the authority
Source:
Returns:
a reference to this, so the API can be used fluently
Type
AuthHandler

handle(arg0)

Parameters:
Name Type Description
arg0 RoutingContext
Source: