public class OauthFieldsImpl extends FormFieldsImpl implements org.refcodes.mixin.Dumpable
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and 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 and 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.
|
copyHttpFields
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
fromHttpFormFields, fromHttpQueryString, fromUrl, toFormFields, toFormFields, toHttpFormFields, toHttpQueryString
addTo, addTo, addTo, addTo, addTo, addTo, getFirst, getFirst, put, put, put, put, toField, toField, withAddTo, withAddTo, withAddTo, withAddTo, withAddTo, withAddTo, withPut, withPut, withPut, withPut, withPut, withPut
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public OauthFieldsImpl()
public OauthFieldsImpl(GrantType aGrantType, URL aRedirectUri, String aUserName, String aPassword)
aGrantType
- the a grant typeaRedirectUri
- the a redirect uriaUserName
- the a user nameaPassword
- the a passwordpublic OauthFieldsImpl(GrantType aGrantType, String aRedirectUri, String aUserName, String aPassword)
aGrantType
- the a grant typeaRedirectUri
- the a redirect uriaUserName
- the a user nameaPassword
- the a passwordpublic OauthFieldsImpl(GrantType aGrantType, String aClientId, String aClientSecret, URL aRedirectUri, String aUserName, String aPassword)
aGrantType
- the a grant typeaClientId
- the a client idaClientSecret
- the a client secretaRedirectUri
- the a redirect uriaUserName
- the a user nameaPassword
- the a passwordpublic OauthFieldsImpl(GrantType aGrantType, String aClientId, String aClientSecret, String aRedirectUri, String aUserName, String aPassword)
aGrantType
- the a grant typeaClientId
- the a client idaClientSecret
- the a client secretaRedirectUri
- the a redirect uriaUserName
- the a user nameaPassword
- the a 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 © 2017. All rights reserved.