public class AsyncOAuthInterface extends Object
| Constructor and Description |
|---|
AsyncOAuthInterface(OAuthInterface syncService,
ExecutorService executorService) |
public AsyncOAuthInterface(OAuthInterface syncService, ExecutorService executorService)
public void authorize(Long oAuthServerOid, SAuthorization authorization, AsyncOAuthInterface.AuthorizeCallback callback)
public void generateForwardUrl(String registrationEndpoint, String authorizeUrl, String returnUrl, AsyncOAuthInterface.GenerateForwardUrlCallback callback)
public void getAuthorizationById(Long oid, AsyncOAuthInterface.GetAuthorizationByIdCallback callback)
public void getOAuthServerByClientId(String clientId, AsyncOAuthInterface.GetOAuthServerByClientIdCallback callback)
public void getOAuthServerById(Long oid, AsyncOAuthInterface.GetOAuthServerByIdCallback callback)
public void getRemoteToken(Long soid, String code, Long serverId, AsyncOAuthInterface.GetRemoteTokenCallback callback)
public void listAuthorizationCodes(AsyncOAuthInterface.ListAuthorizationCodesCallback callback)
public void listIssuedAuthorizationCodes(AsyncOAuthInterface.ListIssuedAuthorizationCodesCallback callback)
public void listRegisteredServers(AsyncOAuthInterface.ListRegisteredServersCallback callback)
public void listRegisteredServersLocal(AsyncOAuthInterface.ListRegisteredServersLocalCallback callback)
public void registerApplication(String registrationEndpoint, String apiUrl, String redirectUrl, AsyncOAuthInterface.RegisterApplicationCallback callback)
public void registerRemoteApplication(String redirectUrl, String name, String description, AsyncOAuthInterface.RegisterRemoteApplicationCallback callback)
public void revokeApplication(Long oid, AsyncOAuthInterface.RevokeApplicationCallback callback)
public void revokeAuthorization(Long oid, AsyncOAuthInterface.RevokeAuthorizationCallback callback)
public void setAuthorizationCode(Long applicationId, String code, AsyncOAuthInterface.SetAuthorizationCodeCallback callback)
Copyright © 2018 OpenSource BIM. All rights reserved.