public class Oauth2Credentials extends Object implements Credentials
OAuth2Auth
providerConstructor and Description |
---|
Oauth2Credentials() |
Oauth2Credentials(io.vertx.core.json.JsonObject json) |
Modifier and Type | Method and Description |
---|---|
Oauth2Credentials |
addScope(String scope) |
<V> void |
checkValid(V arg) |
String |
getAssertion() |
String |
getCode() |
String |
getCodeVerifier() |
io.vertx.core.json.JsonObject |
getJwt() |
String |
getPassword() |
String |
getRedirectUri() |
List<String> |
getScopes() |
String |
getUsername() |
Oauth2Credentials |
setAssertion(String assertion) |
Oauth2Credentials |
setCode(String code) |
Oauth2Credentials |
setCodeVerifier(String codeVerifier) |
Oauth2Credentials |
setJwt(io.vertx.core.json.JsonObject jwt) |
Oauth2Credentials |
setPassword(String password) |
Oauth2Credentials |
setRedirectUri(String redirectUri) |
Oauth2Credentials |
setScopes(List<String> scopes) |
Oauth2Credentials |
setUsername(String username) |
io.vertx.core.json.JsonObject |
toJson() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
applyHttpChallenge, applyHttpChallenge, applyHttpChallenge, toHttpAuthorization
public Oauth2Credentials()
public Oauth2Credentials(io.vertx.core.json.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 io.vertx.core.json.JsonObject getJwt()
public Oauth2Credentials setJwt(io.vertx.core.json.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 io.vertx.core.json.JsonObject toJson()
toJson
in interface Credentials
public <V> void checkValid(V arg) throws CredentialValidationException
checkValid
in interface Credentials
CredentialValidationException
Copyright © 2021 Eclipse. All rights reserved.