title | description | author | ms.service | ms.topic | ms.author | ms.date |
---|---|---|---|---|---|---|
class AuthDelegate::OAuth2Challenge |
Documents the authdelegate::oauth2challenge class of the Microsoft Information Protection (MIP) SDK. |
msmbaldwin |
information-protection |
reference |
mbaldwin |
11/15/2021 |
a class that contains all the information required from the calling application in order to generate an oauth2 token.
Members | Descriptions |
---|---|
public OAuth2Challenge(const std::string& authority, const std::string& resource, const std::string& scope, const std::string& claims) | Construct a new OAuth2Challenge object. |
public const std::string& GetAuthority() const | Get the authority string. |
public const std::string& GetResource() const | Get the resource string. |
public const std::string& GetScope() const | Get the scope string. |
public const std::string& GetClaims() const | Get the claims string. |
Construct a new OAuth2Challenge object.
Parameters:
-
authority: the authority the token needs to be generated against.
-
resource: the resource the token is set to.
-
scope: the scope the token is set to.
Get the authority string.
Returns: The authority string.
Get the resource string.
Returns: The resource string.
Get the scope string.
Returns: The scope string.
Get the claims string.
Returns: The claims string.g.