Package com.mercadopago.resources.oauth
Class OauthCredential
- java.lang.Object
-
- com.mercadopago.net.MPResource
-
- com.mercadopago.resources.oauth.OauthCredential
-
- Direct Known Subclasses:
CreateOauthCredential
,RefreshOauthCredential
public class OauthCredential extends MPResource
Credential information for an Oauth authorization.
-
-
Constructor Summary
Constructors Constructor Description OauthCredential()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAccessToken()
Access token of the user.Long
getExpiresIn()
Expiration date of the token.String
getRefreshToken()
Token used to renew Oauth credential.String
getScope()
The Oauth scope associated to the token.String
getTokenType()
Type of token.-
Methods inherited from class com.mercadopago.net.MPResource
canEqual, equals, getResponse, hashCode, setResponse, toString
-
-
-
-
Method Detail
-
getAccessToken
public String getAccessToken()
Access token of the user.
-
getTokenType
public String getTokenType()
Type of token.
-
getExpiresIn
public Long getExpiresIn()
Expiration date of the token.
-
getScope
public String getScope()
The Oauth scope associated to the token.
-
getRefreshToken
public String getRefreshToken()
Token used to renew Oauth credential.
-
-