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

io.quarkus.oidc.Tenant Maven / Gradle / Ivy

Go to download

Secure your applications with OpenID Connect Adapter and IDP such as Keycloak

There is a newer version: 3.17.5
Show newest version
package io.quarkus.oidc;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.ElementType.TYPE;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Annotation which can be used to associate OIDC tenant configurations with Jakarta REST resources and resource methods.
 * When placed on injection points, this annotation can be used to select a tenant associated
 * with the {@link TenantIdentityProvider}.
 */
@Target({ TYPE, METHOD, FIELD, PARAMETER })
@Retention(RetentionPolicy.RUNTIME)
public @interface Tenant {
    /**
     * Identifies an OIDC tenant configurations.
     */
    String value();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy