
com.yammer.dropwizard.BearerToken Maven / Gradle / Ivy
package com.yammer.dropwizard;
import java.lang.annotation.*;
/**
* A method parameter of type {@code Optional} will be populated with the OAuth2 Bearer
* Token, if one is provided by the client.
*/
@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface BearerToken {
String prefix() default "Bearer";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy