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
파일 보기 프로젝트 열기: smartsheet-platform/smartsheet-csharp-sdk

공개 메소드들

메소드 설명
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