Provides access to MS Graph by using REST API. More...
Inherits IDisposable.
Public Member Functions | |
| System::SharedPtr< Common::Buffers::ArrayPool< uint8_t > > | get_ByteArrayPool () const |
| Gets byte array pool More... | |
| virtual System::SharedPtr< System::Net::IWebProxy > | get_Proxy () |
| Gets data to proxy access to Exchange server. More... | |
| virtual void | set_Proxy (System::SharedPtr< System::Net::IWebProxy > value) |
| Sets data to proxy access to Exchange server. More... | |
| virtual int32_t | get_Timeout () |
| Gets the number of milliseconds to wait before the operation times out. The default value is 100,000 milliseconds (100 seconds). More... | |
| virtual void | set_Timeout (int32_t value) |
| Sets the number of milliseconds to wait before the operation times out. The default value is 100,000 milliseconds (100 seconds). More... | |
| virtual System::SharedPtr< IMultipleServicesTokenProvider > | get_MultipleServicesTokenProvider () |
| Gets an object allows to retrieve OAuth access token. More... | |
| virtual void | set_MultipleServicesTokenProvider (System::SharedPtr< IMultipleServicesTokenProvider > value) |
| Sets an object allows to retrieve OAuth access token. More... | |
| virtual System::SharedPtr< ITokenProvider > | get_TokenProvider () |
| Gets an object allows to retrieve OAuth access token. More... | |
| virtual void | set_TokenProvider (System::SharedPtr< ITokenProvider > value) |
| Sets an object allows to retrieve OAuth access token. More... | |
| virtual System::String | get_TenantId () |
| Gets tenant identifier More... | |
| virtual void | set_TenantId (System::String value) |
| Sets tenant identifier More... | |
| virtual System::String | get_ResourceId () |
| Gets resource id. For instance for users it may be user principal name (UPN) or user id More... | |
| virtual void | set_ResourceId (System::String value) |
| Sets resource id. For instance for users it may be user principal name (UPN) or user id More... | |
| virtual System::String | get_EndPoint () |
| Gets Microsoft Graph REST API endpoint. If not specified, the default is "https://graph.microsoft.com". More... | |
| virtual void | set_EndPoint (System::String value) |
| Sets Microsoft Graph REST API endpoint. If not specified, the default is "https://graph.microsoft.com". More... | |
| virtual ResourceType | get_Resource () |
| Gets resource type. More... | |
| virtual void | set_Resource (ResourceType value) |
| Sets resource type. More... | |
| System::SharedPtr< IHttpWebRequestCreate > | get_WebRequestCreate () |
| void | set_WebRequestCreate (System::SharedPtr< IHttpWebRequestCreate > value) |
| GraphClient (System::SharedPtr< IMultipleServicesTokenProvider > tokenProvider, System::String tenantId) | |
| Initializes a new instance of the GraphClient class. More... | |
| GraphClient (System::SharedPtr< ITokenProvider > tokenProvider, System::String tenantId) | |
| Initializes a new instance of the GraphClient class. More... | |
| void | Dispose () override |
| Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More... | |
Static Public Member Functions | |
| static System::SharedPtr< IGraphClient > | GetClient (System::SharedPtr< IMultipleServicesTokenProvider > tokenProvider, System::String tenantId) |
| Initializes a new instance of the GraphClient based class More... | |
| static System::SharedPtr< IGraphClient > | GetClient (System::SharedPtr< ITokenProvider > tokenProvider, System::String tenantId) |
| Initializes a new instance of the GraphClient based class More... | |
Static Public Attributes | |
| static const int32_t | DEFAULT_TIMEOUT |
| The default value is 100,000 milliseconds (100 seconds). More... | |
Provides access to MS Graph by using REST API.
| Aspose::Email::Clients::Graph::GraphClient::GraphClient | ( | System::SharedPtr< IMultipleServicesTokenProvider > | tokenProvider, |
| System::String | tenantId | ||
| ) |
Initializes a new instance of the GraphClient class.
| tokenProvider | Token provider allows to retrieve OAuth access token |
| tenantId | A tenant is representation of an organization. It's a dedicated instance of Azure AD that an organization or app developer receives when the organization or app developer, creates a relationship with Microsoft like signing up for Azure, Microsoft Intune, or Microsoft 365. |
| Aspose::Email::Clients::Graph::GraphClient::GraphClient | ( | System::SharedPtr< ITokenProvider > | tokenProvider, |
| System::String | tenantId | ||
| ) |
Initializes a new instance of the GraphClient class.
| tokenProvider | Token provider allows to retrieve OAuth access token |
| tenantId | A tenant is representation of an organization. It's a dedicated instance of Azure AD that an organization or app developer receives when the organization or app developer, creates a relationship with Microsoft like signing up for Azure, Microsoft Intune, or Microsoft 365. |
|
override |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
| System::SharedPtr<Common::Buffers::ArrayPool<uint8_t> > Aspose::Email::Clients::Graph::GraphClient::get_ByteArrayPool | ( | ) | const |
Gets byte array pool
|
virtual |
Gets Microsoft Graph REST API endpoint. If not specified, the default is "https://graph.microsoft.com".
|
virtual |
Gets an object allows to retrieve OAuth access token.
|
virtual |
Gets data to proxy access to Exchange server.
|
virtual |
Gets resource type.
|
virtual |
Gets resource id. For instance for users it may be user principal name (UPN) or user id
|
virtual |
Gets tenant identifier
|
virtual |
Gets the number of milliseconds to wait before the operation times out. The default value is 100,000 milliseconds (100 seconds).
|
virtual |
Gets an object allows to retrieve OAuth access token.
| System::SharedPtr<IHttpWebRequestCreate> Aspose::Email::Clients::Graph::GraphClient::get_WebRequestCreate | ( | ) |
|
static |
Initializes a new instance of the GraphClient based class
| tokenProvider | Token provider allows to retrieve OAuth access token |
| tenantId | A tenant is representation of an organization. It's a dedicated instance of Azure AD that an organization or app developer receives when the organization or app developer, creates a relationship with Microsoft like signing up for Azure, Microsoft Intune, or Microsoft 365. |
|
static |
Initializes a new instance of the GraphClient based class
| tokenProvider | Token provider allows to retrieve OAuth access token |
| tenantId | A tenant is representation of an organization. It's a dedicated instance of Azure AD that an organization or app developer receives when the organization or app developer, creates a relationship with Microsoft like signing up for Azure, Microsoft Intune, or Microsoft 365. |
|
virtual |
Sets Microsoft Graph REST API endpoint. If not specified, the default is "https://graph.microsoft.com".
|
virtual |
Sets an object allows to retrieve OAuth access token.
|
virtual |
Sets data to proxy access to Exchange server.
|
virtual |
Sets resource type.
|
virtual |
Sets resource id. For instance for users it may be user principal name (UPN) or user id
|
virtual |
Sets tenant identifier
|
virtual |
Sets the number of milliseconds to wait before the operation times out. The default value is 100,000 milliseconds (100 seconds).
|
virtual |
Sets an object allows to retrieve OAuth access token.
| void Aspose::Email::Clients::Graph::GraphClient::set_WebRequestCreate | ( | System::SharedPtr< IHttpWebRequestCreate > | value | ) |
|
static |
The default value is 100,000 milliseconds (100 seconds).