com.globo.dnsapi.api
Class AuthAPI
java.lang.Object
com.globo.dnsapi.AbstractAPI<Authentication>
com.globo.dnsapi.api.AuthAPI
public class AuthAPI
- extends AbstractAPI<Authentication>
| Methods inherited from class com.globo.dnsapi.AbstractAPI |
buildHttpRequestFactory, buildUrl, delete, get, getDnsapi, handleExceptionIfNeeded, insertAuthenticationHeaders, interceptResponse, parse, parse, post, put |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthAPI
public AuthAPI(DNSAPI transport)
getType
protected Type getType()
- Specified by:
getType in class AbstractAPI<Authentication>
getListType
protected Type getListType()
- Specified by:
getListType in class AbstractAPI<Authentication>
interceptRequest
protected void interceptRequest(com.google.api.client.http.HttpRequest request)
- Description copied from class:
AbstractAPI
- Run before each request runs.
- Overrides:
interceptRequest in class AbstractAPI<Authentication>
signIn
public Authentication signIn(String email,
String password)
throws DNSAPIException
- Throws:
DNSAPIException
Copyright © 2014. All rights reserved.