OAuthModel Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Model for API authentication with OAuth2.
public class OAuthModel : Azure.ResourceManager.SecurityInsights.Models.CcpAuthConfig, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SecurityInsights.Models.OAuthModel>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SecurityInsights.Models.OAuthModel>
type OAuthModel = class
inherit CcpAuthConfig
interface IJsonModel<OAuthModel>
interface IPersistableModel<OAuthModel>
Public Class OAuthModel
Inherits CcpAuthConfig
Implements IJsonModel(Of OAuthModel), IPersistableModel(Of OAuthModel)
- Inheritance
- Implements
Constructors
OAuthModel(String, String, String, String) |
Initializes a new instance of OAuthModel. |
Properties
AccessTokenPrepend |
Access token prepend. Default is 'Bearer'. |
AuthorizationCode |
The user's authorization code. |
AuthorizationEndpoint |
The authorization endpoint. |
AuthorizationEndpointHeaders |
The authorization endpoint headers. |
AuthorizationEndpointQueryParameters |
The authorization endpoint query parameters. |
ClientId |
The Application (client) ID that the OAuth provider assigned to your app. |
ClientSecret |
The Application (client) secret that the OAuth provider assigned to your app. |
GrantType |
The grant type, usually will be 'authorization code'. |
IsCredentialsInHeaders |
Indicating whether we want to send the clientId and clientSecret to token endpoint in the headers. |
IsJwtBearerFlow |
A value indicating whether it's a JWT flow. |
RedirectUri |
The Application redirect url that the user config in the OAuth provider. |
Scope |
The Application (client) Scope that the OAuth provider assigned to your app. |
TokenEndpoint |
The token endpoint. Defines the OAuth2 refresh token. |
TokenEndpointHeaders |
The token endpoint headers. |
TokenEndpointQueryParameters |
The token endpoint query parameters. |