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

de.cidaas.oauth.interceptor.OAuthScopes Maven / Gradle / Ivy

There is a newer version: 1.0.4
Show newest version
package de.cidaas.oauth.interceptor;

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

/**
 * OAuthScopes is used to annotate a method to define the scope of the service.
 * 
 * @author thomaswidmann
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.METHOD })
@Inherited
public @interface OAuthScopes {

	/**
	 * Scopes.
	 *
	 * @return the oauth2 scopes
	 */
	String[] scopes() default "";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy