Class Parser
Represents parser for parse OAuth responses.
Inheritance
System.Object
Parser
Namespace: FastReport.Cloud.OAuth
Assembly: FastReport.dll
Syntax
public static class Parser
Methods
ParseFastCloudToken(Stream)
Parses token information in stream for FastCloud.
Declaration
public static string ParseFastCloudToken(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | The stream for parse. |
Returns
Type | Description |
---|---|
System.String | The FastCloud access token. |
ParseGoogleDriveToken(Stream)
Parses token information in stream for Google Drive.
Declaration
public static string ParseGoogleDriveToken(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | The stream for parse. |
Returns
Type | Description |
---|---|
System.String | The Google Drive access token. |
ParseSkyDriveToken(Stream)
Parses token information in stream for SkyDrive.
Declaration
public static string ParseSkyDriveToken(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | The stream for parse. |
Returns
Type | Description |
---|---|
System.String | The SkyDrive access token. |
ParseToken(Stream)
Parses token information in stream.
Declaration
public static Token ParseToken(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | The stream for parse. |
Returns
Type | Description |
---|---|
Token | The OAuth token. |