Click or drag to resize

OAuthFlowObtainNewToken Method

Obtain a new token using AuthorizationResult.

Namespace:  Smartsheet.Api.OAuth
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
Token ObtainNewToken(
	AuthorizationResult authorizationResult
)

Parameters

authorizationResult
Type: Smartsheet.Api.OAuthAuthorizationResult
the authorization RequestResult

Return Value

Type: Token
the token
Exceptions
ExceptionCondition
OAuthTokenException the o auth token exception
JsonSerializationException the JSON serializer exception
UriFormatException the URI syntax exception
InvalidRequestException the invalid request exception
InvalidOperationException if any other error occurred during the operation
See Also