Serializable, Cloneable, Map<String,List<String>>, org.refcodes.mixin.Dumpable, FormFields, HttpFields<FormFields>public class OauthFieldsImpl extends FormFieldsImpl implements org.refcodes.mixin.Dumpable
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>| Constructor | Description |
|---|---|
OauthFieldsImpl() |
Instantiates a new oauth fields impl.
|
OauthFieldsImpl(GrantType aGrantType,
String aClientId,
String aRefreshToken) |
Instantiates a new oauth fields impl.
|
OauthFieldsImpl(GrantType aGrantType,
String aRedirectUri,
String aUserName,
String aPassword) |
Instantiates a new oauth fields impl.
|
OauthFieldsImpl(GrantType aGrantType,
String aClientId,
String aClientSecret,
String aRedirectUri,
String aUserName,
String aPassword) |
Instantiates a new oauth fields impl.
|
OauthFieldsImpl(GrantType aGrantType,
String aClientId,
String aClientSecret,
URL aRedirectUri,
String aUserName,
String aPassword) |
Instantiates a new oauth fields impl.
|
OauthFieldsImpl(GrantType aGrantType,
URL aRedirectUri,
String aUserName,
String aPassword) |
Instantiates a new oauth fields impl.
|
| Modifier and Type | Method | Description |
|---|---|---|
String |
getClientId() |
Gets the client id.
|
String |
getClientSecret() |
Gets the client secret.
|
GrantType |
getGrantType() |
Gets the grant type.
|
String |
getPassword() |
Gets the password.
|
String |
getRedirectUri() |
Gets the redirect uri.
|
String |
getRefreshToken() |
Gets the refresh token.
|
String |
getUserName() |
Gets the user name.
|
void |
setClientId(String aClientId) |
Sets the client id.
|
void |
setClientSecret(String aClientSecret) |
Sets the client secret.
|
void |
setGrantType(GrantType aGrantType) |
Sets the grant type.
|
void |
setPassword(String aPassword) |
Sets the password.
|
void |
setRedirectUri(String aRedirectUri) |
Sets the redirect uri.
|
void |
setRefreshToken(String aRefreshToken) |
Sets the refresh token.
|
void |
setUserName(String aUserName) |
Sets the user name.
|
copyHttpFieldsequals, hashCode, toStringfromBodyFormFields, fromUrl, fromUrlQueryString, toBodyFormFields, toUrlQueryStringclear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesaddTo, addTo, addTo, addTo, addTo, addTo, getFirst, getFirst, put, put, put, put, toField, toField, withAddTo, withAddTo, withAddTo, withAddTo, withAddTo, withAddTo, withPut, withPut, withPut, withPut, withPut, withPutclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic OauthFieldsImpl()
public OauthFieldsImpl(GrantType aGrantType, URL aRedirectUri, String aUserName, String aPassword)
aGrantType - the grant typeaRedirectUri - the redirect uriaUserName - the user nameaPassword - the passwordpublic OauthFieldsImpl(GrantType aGrantType, String aRedirectUri, String aUserName, String aPassword)
aGrantType - the grant typeaRedirectUri - the redirect uriaUserName - the user nameaPassword - the passwordpublic OauthFieldsImpl(GrantType aGrantType, String aClientId, String aClientSecret, URL aRedirectUri, String aUserName, String aPassword)
aGrantType - the grant typeaClientId - the client idaClientSecret - the client secretaRedirectUri - the redirect uriaUserName - the user nameaPassword - the passwordpublic OauthFieldsImpl(GrantType aGrantType, String aClientId, String aClientSecret, String aRedirectUri, String aUserName, String aPassword)
aGrantType - the grant typeaClientId - the client idaClientSecret - the client secretaRedirectUri - the redirect uriaUserName - the user nameaPassword - the passwordpublic GrantType getGrantType()
public void setGrantType(GrantType aGrantType)
aGrantType - the new grant typepublic String getClientId()
public void setClientId(String aClientId)
aClientId - the new client idpublic String getClientSecret()
public void setClientSecret(String aClientSecret)
aClientSecret - the new client secretpublic String getRedirectUri()
public void setRedirectUri(String aRedirectUri)
aRedirectUri - the new redirect uripublic String getUserName()
public void setUserName(String aUserName)
aUserName - the new user namepublic String getPassword()
public void setPassword(String aPassword)
aPassword - the new passwordpublic String getRefreshToken()
public void setRefreshToken(String aRefreshToken)
aRefreshToken - the new refresh tokenCopyright © 2018. All rights reserved.