Class ServiceContext
Represents the service provider.
Inheritance
System.Object
ServiceContext
Namespace: FastReport.Cloud.OAuth
Assembly: FastReport.dll
Syntax
public class ServiceContext
Constructors
ServiceContext(String, String, String, String)
Initializes a new instance of the ServiceContext class with a specified parameters.
Declaration
public ServiceContext(string requestTokenUrl, string userAuthorizationUrl, string callbackUrl, string accessTokenUrl)
Parameters
Type | Name | Description |
---|---|---|
System.String | requestTokenUrl | The request token URL. |
System.String | userAuthorizationUrl | The user authorization URL. |
System.String | callbackUrl | The callback URL. |
System.String | accessTokenUrl | The access token URL. |
Properties
AccessTokenUrl
Gets the access token URL.
Declaration
public string AccessTokenUrl { get; }
Property Value
Type | Description |
---|---|
System.String |
CallbackUrl
Gets the callback URL.
Declaration
public string CallbackUrl { get; }
Property Value
Type | Description |
---|---|
System.String |
RequestTokenUrl
Gets the request token URL.
Declaration
public string RequestTokenUrl { get; }
Property Value
Type | Description |
---|---|
System.String |
UserAuthorizationUrl
Gets the user authorization URL.
Declaration
public string UserAuthorizationUrl { get; }
Property Value
Type | Description |
---|---|
System.String |