public interface AuthorizationApi extends Closeable
@Named(value="oauth2:authorize") @POST @Consumes(value="application/json") Token authorize(@FormParam(value="assertion") Claims claims)
@Named(value="oauth2:authorize_client_secret") @POST @Consumes(value="application/json") Token authorizeClientSecret(@FormParam(value="client_id") String client_id, @FormParam(value="client_secret") String client_secret, @FormParam(value="resource") String resource, @FormParam(value="scope")@Nullable String scope)
@Named(value="oauth2:authorize_client_p12") @POST @Consumes(value="application/json") Token authorize(@FormParam(value="client_id") String client_id, @FormParam(value="client_assertion") ClientCredentialsClaims claim, @FormParam(value="resource") String resource, @FormParam(value="scope")@Nullable String scope)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.