Click or drag to resize

TokenResources Interface

This interface provides methods to access Token resources.

Thread Safety: Implementation of this interface must be thread safe.

Namespace:  Smartsheet.Api
Assemblies:   smartsheet-csharp-sdk (in smartsheet-csharp-sdk.dll) Version: 2.126.0
  smartsheet-csharp-sdk (in smartsheet-csharp-sdk.dll) Version: 2.126.0
Syntax
public interface TokenResources

The TokenResources type exposes the following members.

Methods
  NameDescription
Public methodGetAccessToken

Please use OAuthFlowBuilder class to build an instance of an OAuthFlow class.

Will throw a NotSupportedException.

It mirrors to the following Smartsheet REST API method: POST /token

Public methodRefreshAccessToken

Please use OAuthFlowBuilder class to build an instance of an OAuthFlow class.

Will throw a NotSupportedException.

It mirrors to the following Smartsheet REST API method: POST /token

Public methodRevokeAccessToken

Revokes the access token used to make this request. The access token will no longer be valid, and subsequent API calls made using the token will fail.

It mirrors to the following Smartsheet REST API method:
DELETE /token

Public methodRevokeAccessToken(NullableBoolean)

Revokes the access token used to make this request. The access token will no longer be valid, and subsequent API calls made using the token will fail.

It mirrors to the following Smartsheet REST API method:
DELETE /token

Top
See Also