All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zandero.rest.authentication.RestAuthenticationProvider Maven / Gradle / Ivy

The newest version!
package com.zandero.rest.authentication;

import io.vertx.core.*;
import io.vertx.ext.auth.User;
import io.vertx.ext.auth.authentication.*;
import io.vertx.ext.web.RoutingContext;

public interface RestAuthenticationProvider extends AuthenticationProvider {

    default void authenticate(RoutingContext context, Handler> resultHandler) {
        authenticate(provideCredentials(context), resultHandler);
    }

    Credentials provideCredentials(RoutingContext context);
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy