Click or drag to resize
TokenClientExtensionsRequestRefreshTokenAsync Method
RequestRefreshTokenAsync call

Namespace:  Intuit.Ipp.OAuth2PlatformClient
Assembly:  Intuit.Ipp.OAuth2PlatformClient (in Intuit.Ipp.OAuth2PlatformClient.dll) Version: 4.0.0.0 (4.0.0.0)
Syntax
C#
public static Task<TokenResponse> RequestRefreshTokenAsync(
	this TokenClient client,
	string refreshToken,
	Object extra = null,
	CancellationToken cancellationToken = null
)

Parameters

client
Type: Intuit.Ipp.OAuth2PlatformClientTokenClient
client
refreshToken
Type: SystemString
refreshToken
extra (Optional)
Type: SystemObject
extra
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
cancellationToken

Return Value

Type: TaskTokenResponse
task of TokenResponse

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TokenClient. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also