cn.signit.sdk.http
类 Authentication
java.lang.Object
cn.signit.sdk.http.Authentication
public class Authentication
- extends Object
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Authentication
public Authentication()
Authentication
public Authentication(String apiKey,
String secretKey)
Authentication
public Authentication(String apiKey,
String secretKey,
TokenType authenticationType)
Authentication
public Authentication(Authentication clone)
throws SignitException
- 抛出:
SignitException
getAppId
public String getAppId()
setAppId
public Authentication setAppId(String appId)
hasAppId
public boolean hasAppId()
getSecretKey
public String getSecretKey()
setSecretKey
public Authentication setSecretKey(String secretKey)
hasSecretKey
public boolean hasSecretKey()
getAccessToken
public String getAccessToken()
setAccessToken
public void setAccessToken(String accessToken)
getAccessTokenType
public TokenType getAccessTokenType()
setAccessTokenType
public void setAccessTokenType(TokenType accessTokenType)
hasAccessTokenType
public boolean hasAccessTokenType()
hasAccessToken
public boolean hasAccessToken()
authenticate
public void authenticate(HttpURLConnection httpConn,
String url)
Copyright © 2019. All rights reserved.