public class OpenidConnectAuthenticationCallback extends Object implements MysqlCallback
| Modifier and Type | Field | Description |
|---|---|---|
(package private) Function<PropertyKey,String> |
connPropSupplier |
|
private byte[] |
identityToken |
|
private String |
user |
| Constructor | Description |
|---|---|
OpenidConnectAuthenticationCallback(Function<PropertyKey,String> connPropSupplier) |
| Modifier and Type | Method | Description |
|---|---|---|
String |
getConnProperty(PropertyKey propKey) |
Provides access to the connection properties where this authentication is being performed.
|
byte[] |
getIdentityToken() |
Returns the OpenID Identity Token.
|
String |
getUser() |
Returns the user name.
|
void |
setIdentityToken(byte[] identityToken) |
Sets the OpenID Identity Token.
|
void |
setUser(String user) |
Sets the user name.
|
private String user
Function<PropertyKey,String> connPropSupplier
private byte[] identityToken
public OpenidConnectAuthenticationCallback(Function<PropertyKey,String> connPropSupplier)
public String getConnProperty(PropertyKey propKey)
propKey - a PropertyKey element.PropertyKey as a String.public String getUser()
public void setUser(String user)
user - the user name.public byte[] getIdentityToken()
public void setIdentityToken(byte[] identityToken)
identityToken - the OpenID Identity Token.