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
)
Function ObtainNewToken (
authorizationResult As AuthorizationResult
) As Token
Token^ ObtainNewToken(
AuthorizationResult^ authorizationResult
)
abstract ObtainNewToken :
authorizationResult : AuthorizationResult -> Token
Parameters
- authorizationResult
- Type: Smartsheet.Api.OAuthAuthorizationResult
the authorization RequestResult
Return Value
Type:
Token the token
Exceptions Exception | Condition |
---|
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