public interface AuthorizationApi extends Closeable
Token
authorize(Claims claims)
authorize(String client_id, ClientCredentialsClaims claim, String resource, String scope)
authorizeClientSecret(String client_id, String client_secret, String resource, String scope)
close
@Named(value="oauth2:authorize") Token authorize(Claims claims)
@Named(value="oauth2:authorize_client_secret") Token authorizeClientSecret(String client_id, String client_secret, String resource, @Nullable String scope)
@Named(value="oauth2:authorize_client_p12") Token authorize(String client_id, ClientCredentialsClaims claim, String resource, @Nullable String scope)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.