com.github.gpor0.jaffas.endpoints.OauthApi Maven / Gradle / Ivy
package com.github.gpor0.jaffas.endpoints;
import com.github.gpor0.jaffas.endpoints.model.Token;
import javax.ws.rs.*;
@Path("/")
public interface OauthApi {
@POST
@Path("/token")
@Produces("application/json")
@Consumes("application/x-www-form-urlencoded")
Token getToken(@HeaderParam("Authorization") String authHeaderValue, @FormParam("grant_type") String grantType, @FormParam("audience") String audience, @FormParam("scope") String scope);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy