C# Класс Smartsheet.Api.Internal.TokenResourcesImpl

This is the implementation of TokenResources. Thread Safety: This class is thread safe because it is immutable and its base class is thread safe.
Наследование: AbstractResources, TokenResources
Показать файл Открыть проект

Открытые методы

Метод Описание
GetAccessToken ( ) : void

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

Will throw exception.

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

RefreshAccessToken ( ) : void

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

Will throw exception.

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

RevokeAccessToken ( ) : void

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

TokenResourcesImpl ( SmartsheetImpl smartsheet ) : System.Collections.Generic

Constructor.

Описание методов

GetAccessToken() публичный Метод

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

Will throw exception.

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

This exception is always thrown since this operation is not supported by the Token Resources. /// Instead, see OAuthFlow.
public GetAccessToken ( ) : void
Результат void

RefreshAccessToken() публичный Метод

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

Will throw exception.

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

This exception is always thrown since this operation is not supported by the Token Resources. /// Instead, see OAuthFlow.
public RefreshAccessToken ( ) : void
Результат void

RevokeAccessToken() публичный Метод

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

if any argument is null or empty string if there is any problem with the REST API request if there is any problem with the REST API authorization (access token) if the resource cannot be found if the REST API service is not available (possibly due To rate limiting) if there is any other error during the operation
public RevokeAccessToken ( ) : void
Результат void

TokenResourcesImpl() публичный Метод

Constructor.
if any argument is null
public TokenResourcesImpl ( SmartsheetImpl smartsheet ) : System.Collections.Generic
smartsheet SmartsheetImpl the SmartsheetImpl
Результат System.Collections.Generic