Class OAuthRefreshTokenGrant

Access tokens eventually expire; however some grants respond with a refresh token which enables the client to get a new access token without requiring the user to be redirected.

Inheritance
object
OAuthRefreshTokenGrant
Implements
Namespace: StylelabsStylelabs.MSdkWebClientAuthentication
Assembly: Stylelabs.M.Sdk.WebClient.dll
Syntax
RequestResponse
public class OAuthRefreshTokenGrant : IOAuthGrant
Remarks

Properties

ClientId

Gets or sets the client id.

Declaration
RequestResponse
public string ClientId { get; set; }
Property Value
TypeDescription
string

ClientSecret

Gets or sets the client secret.

Declaration
RequestResponse
public string ClientSecret { get; set; }
Property Value
TypeDescription
string

RefreshToken

Gets or sets a refresh token that can be used to acquire a new access token when the original expires.

Declaration
RequestResponse
public string RefreshToken { get; set; }
Property Value
TypeDescription
string

Implements

Do you have some feedback for us?

If you have suggestions for improving this article,