Class OAuthCredential
OAuth Credential.
Implements
Inherited Members
Namespace: MercadoPago.Resource.OAuth
Assembly: MercadoPago.dll
Syntax
public class OAuthCredential : IResource
Properties
| Edit this page View SourceAccessToken
Marketplace seller token.
Declaration
public string AccessToken { get; set; }
Property Value
Type | Description |
---|---|
string |
ApiResponse
Response from API.
Declaration
public MercadoPagoResponse ApiResponse { get; set; }
Property Value
Type | Description |
---|---|
MercadoPagoResponse |
ExpiresIn
Expiration time in seconds.
Declaration
public long? ExpiresIn { get; set; }
Property Value
Type | Description |
---|---|
long? |
LiveMode
Production or test mode.
Declaration
public bool LiveMode { get; set; }
Property Value
Type | Description |
---|---|
bool |
PublicKey
Public key of the application.
Declaration
public string PublicKey { get; set; }
Property Value
Type | Description |
---|---|
string |
RefreshToken
Token to refresh the credentials.
Declaration
public string RefreshToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Scope
Credential scope.
Declaration
public string Scope { get; set; }
Property Value
Type | Description |
---|---|
string |
TokenType
The token type.
Declaration
public string TokenType { get; set; }
Property Value
Type | Description |
---|---|
string |
UserId
Identification number (Mercado Pago ID).
Declaration
public long UserId { get; set; }
Property Value
Type | Description |
---|---|
long |