public class TokenEndPointParams extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TokenEndPointParams.Grant_type
授权模式:
- `authorization_code`: 使用一次性授权码 `code` 换取。
|
| 构造器和说明 |
|---|
TokenEndPointParams() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getClientId() |
String |
getClientSecret() |
String |
getCode() |
String |
getCodeVerifier() |
TokenEndPointParams.Grant_type |
getGrantType() |
String |
getRedirectUri() |
String |
getRefreshToken() |
void |
setClientId(String clientId) |
void |
setClientSecret(String clientSecret) |
void |
setCode(String code) |
void |
setCodeVerifier(String codeVerifier) |
void |
setGrantType(TokenEndPointParams.Grant_type grantType) |
void |
setRedirectUri(String redirectUri) |
void |
setRefreshToken(String refreshToken) |
public String getClientId()
public void setClientId(String clientId)
public String getClientSecret()
public void setClientSecret(String clientSecret)
public TokenEndPointParams.Grant_type getGrantType()
public void setGrantType(TokenEndPointParams.Grant_type grantType)
public String getRedirectUri()
public void setRedirectUri(String redirectUri)
public String getCode()
public void setCode(String code)
public String getCodeVerifier()
public void setCodeVerifier(String codeVerifier)
public String getRefreshToken()
public void setRefreshToken(String refreshToken)
Copyright © 2022. All rights reserved.