use of com.zimbra.soap.account.message.GetOAuthConsumersResponse in project zm-mailbox by Zimbra.
the class GetOAuthConsumers method handle.
@Override
public Element handle(Element request, Map<String, Object> context) throws ServiceException {
ZimbraSoapContext zsc = getZimbraSoapContext(context);
Account account = getRequestedAccount(zsc);
GetOAuthConsumersResponse response = new GetOAuthConsumersResponse();
encodeResponse(account, response);
return zsc.jaxbToElement(response);
}
Aggregations