
io.vertx.ext.auth.authorization.AndAuthorization Maven / Gradle / Ivy
/********************************************************************************
* Copyright (c) 2019 Stephane Bastian
*
* This program and the accompanying materials are made available under the 2
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0 3
*
* Contributors: 4
* Stephane Bastian - initial API and implementation
********************************************************************************/
package io.vertx.ext.auth.authorization;
import io.vertx.codegen.annotations.VertxGen;
import io.vertx.ext.auth.authorization.impl.AndAuthorizationImpl;
import java.util.List;
/**
* Allows to perform a logical 'and' between several authorizations
*
* @author Stephane Bastian
*/
@VertxGen
public interface AndAuthorization extends Authorization {
static AndAuthorization create() {
return new AndAuthorizationImpl();
}
List getAuthorizations();
AndAuthorization addAuthorization(Authorization authorization);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy