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

com.symphony.bdk.bot.sdk.command.config.CommandAuthenticationProvider Maven / Gradle / Ivy

package com.symphony.bdk.bot.sdk.command.config;

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

import com.symphony.bdk.bot.sdk.command.AuthenticatedCommandHandler;
import com.symphony.bdk.bot.sdk.command.AuthenticationProvider;

/**
 * Annotation used to define which {@link AuthenticationProvider}
 * implementation to use in each {@link AuthenticatedCommandHandler}.
 *
 * THIS ANNOTATION IS NOT REQUIRED IF ONLY ONE {@link AuthenticationProvider}
 * IS PROVIDED.
 *
 * @author Marcus Secato
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface CommandAuthenticationProvider {
  public String name();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy