Microsoft Information Protection SDK - C++ 1.18
API Reference Documentation for C++
Loading...
Searching...
No Matches
ServiceInfo Class Reference

Service information returned by cloud discovery. More...

#include <cloud_discovery_delegate.h>

Public Member Functions

 ServiceInfo ()
 
 ServiceInfo (ServiceType serviceType, std::string url)
 
 ServiceInfo (ServiceType serviceType, std::string url, std::string resource, std::string authority)
 
ServiceType GetServiceType () const
 Gets the service type of this ServiceInfo, like Protection, Policy, Telemetry, etc.
 
std::string GetUrl () const
 Gets the service URL like https://api.aadrm.com.
 
std::string GetResource () const
 Gets the resource string for authentication.
 
std::string GetAuthority () const
 Gets the authority string for authentication.
 

Private Attributes

ServiceType mServiceType
 
std::string mUrl
 
std::string mResource
 
std::string mAuthority
 

Detailed Description

Service information returned by cloud discovery.

Constructor & Destructor Documentation

◆ ServiceInfo() [1/3]

ServiceInfo::ServiceInfo ( )
inline

◆ ServiceInfo() [2/3]

ServiceInfo::ServiceInfo ( ServiceType serviceType,
std::string url )
inline

◆ ServiceInfo() [3/3]

ServiceInfo::ServiceInfo ( ServiceType serviceType,
std::string url,
std::string resource,
std::string authority )
inline

Member Function Documentation

◆ GetAuthority()

std::string ServiceInfo::GetAuthority ( ) const
inline

Gets the authority string for authentication.

Returns
authority string

◆ GetResource()

std::string ServiceInfo::GetResource ( ) const
inline

Gets the resource string for authentication.

Returns
resource string

◆ GetServiceType()

ServiceType ServiceInfo::GetServiceType ( ) const
inline

Gets the service type of this ServiceInfo, like Protection, Policy, Telemetry, etc.

Returns
service type

◆ GetUrl()

std::string ServiceInfo::GetUrl ( ) const
inline

Gets the service URL like https://api.aadrm.com.

Returns
service URL

Member Data Documentation

◆ mAuthority

std::string ServiceInfo::mAuthority
private

◆ mResource

std::string ServiceInfo::mResource
private

◆ mServiceType

ServiceType ServiceInfo::mServiceType
private

◆ mUrl

std::string ServiceInfo::mUrl
private

The documentation for this class was generated from the following file: