public class Oauth2Credentials extends Object implements Credentials
OAuth2Auth provider| Constructor and Description |
|---|
Oauth2Credentials() |
Oauth2Credentials(JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
Oauth2Credentials |
addScope(String scope) |
<V> void |
checkValid(V arg) |
String |
getAssertion() |
String |
getCode() |
String |
getCodeVerifier() |
OAuth2FlowType |
getFlow() |
JsonObject |
getJwt() |
String |
getPassword() |
String |
getRedirectUri() |
List<String> |
getScopes() |
String |
getUsername() |
Oauth2Credentials |
setAssertion(String assertion) |
Oauth2Credentials |
setCode(String code) |
Oauth2Credentials |
setCodeVerifier(String codeVerifier) |
Oauth2Credentials |
setFlow(OAuth2FlowType flow) |
Oauth2Credentials |
setJwt(JsonObject jwt) |
Oauth2Credentials |
setPassword(String password) |
Oauth2Credentials |
setRedirectUri(String redirectUri) |
Oauth2Credentials |
setScopes(List<String> scopes) |
Oauth2Credentials |
setUsername(String username) |
JsonObject |
toJson() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyHttpChallenge, applyHttpChallenge, applyHttpChallenge, toHttpAuthorizationpublic Oauth2Credentials()
public Oauth2Credentials(JsonObject json)
public String getCode()
public Oauth2Credentials setCode(String code)
public String getRedirectUri()
public Oauth2Credentials setRedirectUri(String redirectUri)
public String getCodeVerifier()
public Oauth2Credentials setCodeVerifier(String codeVerifier)
public Oauth2Credentials addScope(String scope)
public Oauth2Credentials setScopes(List<String> scopes)
public JsonObject getJwt()
public Oauth2Credentials setJwt(JsonObject jwt)
public String getAssertion()
public Oauth2Credentials setAssertion(String assertion)
public String getPassword()
public Oauth2Credentials setPassword(String password)
public String getUsername()
public Oauth2Credentials setUsername(String username)
public OAuth2FlowType getFlow()
public Oauth2Credentials setFlow(OAuth2FlowType flow)
public JsonObject toJson()
toJson in interface Credentialspublic <V> void checkValid(V arg)
throws CredentialValidationException
checkValid in interface CredentialsCredentialValidationExceptionCopyright © 2025 Eclipse. All rights reserved.