Smartsheet.Api.Internal.TokenResourcesImpl.GetAccessToken C# (CSharp) Method

GetAccessToken() public method

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
return void
        public virtual void GetAccessToken()
        {
            throw new System.NotSupportedException("Please use the OAuthFlow class to get an access token.");
        }