Click or drag to resize

OAuthFlowBuilder Class

This is the builder that is used to build instances.

Thread Safety: This class is not thread safe since it's mutable, one builder instance is NOT expected to be used in multiple threads.

Inheritance Hierarchy
SystemObject
  Smartsheet.Api.OAuthOAuthFlowBuilder

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
public class OAuthFlowBuilder

The OAuthFlowBuilder type exposes the following members.

Constructors
  NameDescription
Public methodOAuthFlowBuilder
Constructor.
Top
Properties
  NameDescription
Public propertyAuthorizationURL
Gets the authorization Url.
Public propertyClientId
Gets the client Id.
Public propertyClientSecret
Gets the client secret.
Public propertyStatic memberDefaultAuthorizationUrl
Gets the default authorization Url.
Public propertyStatic memberDefaultTokenUrl
Gets the default token Url.
Public propertyHttpClient
Gets the http client.
Public propertyJsonSerializer
Gets the Json serializer.
Public propertyRedirectURL
Gets the redirect Url.
Public propertyTokenURL
Gets the token Url.
Top
Methods
  NameDescription
Public methodBuild
Build the OAuthFlow instance.
Public methodSetAuthorizationURL
Set the authorization URL.
Public methodSetClientId
Set the client ID
Public methodSetClientSecret
Set the client secret.
Public methodSetHttpClient
Set the HttpClient.
Public methodSetJsonSerializer

Set the JsonSerializer.

Public methodSetRedirectURL
Set the redirect URL
Public methodSetTokenURL
Set the token URL.
Top
Fields
  NameDescription
Public fieldStatic memberDEFAULT_AUTHORIZATION_URL

Represents the default OAuth authorization URL

It is a constant with Value "https://www.Smartsheet.com/b/authorize".

Public fieldStatic memberDEFAULT_TOKEN_URL

Represents the default token URL

It is a constant with Value "https://Api.Smartsheet.com/2.0/token".

Top
See Also