public interface OAuthInterface extends PublicInterface
Long registerApplication(String registrationEndpoint, String apiUrl, String redirectUrl) throws UserException, ServerException
UserExceptionServerException - returns the clientIdList<SOAuthServer> listRegisteredServers() throws ServerException, UserException
ServerExceptionUserExceptionList<SOAuthServer> listRegisteredServersLocal() throws ServerException, UserException
ServerExceptionUserExceptionString generateForwardUrl(String registrationEndpoint, String authorizeUrl, String returnUrl) throws ServerException, UserException
ServerExceptionUserExceptionvoid setAuthorizationCode(Long applicationId, String code) throws UserException, ServerException
UserExceptionServerExceptionSOAuthServer getOAuthServerById(Long oid) throws ServerException, UserException
ServerExceptionUserExceptionSOAuthServer getOAuthServerByClientId(String clientId) throws ServerException, UserException
ServerExceptionUserExceptionList<SOAuthAuthorizationCode> listAuthorizationCodes() throws ServerException, UserException
ServerExceptionUserExceptionString authorize(Long oAuthServerOid, SAuthorization authorization) throws ServerException, UserException
ServerExceptionUserExceptionvoid revokeApplication(Long oid) throws ServerException, UserException
ServerExceptionUserExceptionList<SOAuthAuthorizationCode> listIssuedAuthorizationCodes() throws ServerException, UserException
ServerExceptionUserExceptionSAuthorization getAuthorizationById(Long oid) throws ServerException, UserException
ServerExceptionUserExceptionvoid revokeAuthorization(Long oid) throws ServerException, UserException
ServerExceptionUserExceptionString getRemoteToken(Long soid, String code, Long serverId) throws ServerException, UserException
ServerExceptionUserExceptionSOAuthServer registerRemoteApplication(String redirectUrl, String name, String description) throws UserException, ServerException
UserExceptionServerExceptionCopyright © 2018 OpenSource BIM. All rights reserved.