Class PayPalOAuthToken
Represents PayPal OAuth token
Inheritance
System.Object
PayPalOAuthToken
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: NFX.Web.dll
Syntax
public class PayPalOAuthToken
Constructors
PayPalOAuthToken(String, Int32, String, String, String, String, Int32)
Declaration
public PayPalOAuthToken(string applicationID, int expiresInSec, string tokenType, string accessToken, string scope, string nonce, int expirationMarginSec)
Parameters
| Type |
Name |
Description |
| System.String |
applicationID |
|
| System.Int32 |
expiresInSec |
|
| System.String |
tokenType |
|
| System.String |
accessToken |
|
| System.String |
scope |
|
| System.String |
nonce |
|
| System.Int32 |
expirationMarginSec |
|
Fields
AccessToken
Declaration
public readonly string AccessToken
Field Value
| Type |
Description |
| System.String |
|
ApplicationID
Declaration
public readonly string ApplicationID
Field Value
| Type |
Description |
| System.String |
|
ExpirationMarginSec
Declaration
public readonly int ExpirationMarginSec
Field Value
| Type |
Description |
| System.Int32 |
|
ExpiresInSec
Declaration
public readonly int ExpiresInSec
Field Value
| Type |
Description |
| System.Int32 |
|
Nonce
Declaration
public readonly string Nonce
Field Value
| Type |
Description |
| System.String |
|
ObtainTime
Declaration
public readonly DateTime ObtainTime
Field Value
| Type |
Description |
| System.DateTime |
|
Scope
Declaration
public readonly string Scope
Field Value
| Type |
Description |
| System.String |
|
TokenType
Declaration
public readonly string TokenType
Field Value
| Type |
Description |
| System.String |
|
Properties
Declaration
public string AuthorizationHeader { get; }
Property Value
| Type |
Description |
| System.String |
|
Methods
IsCloseToExpire()
Declaration
public bool IsCloseToExpire()
Returns
| Type |
Description |
| System.Boolean |
|
ToString()
Declaration
public override string ToString()
Returns
| Type |
Description |
| System.String |
|
Overrides
System.Object.ToString()
Extension Methods