你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SessionAuthModel 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 session cookie.
public class SessionAuthModel : Azure.ResourceManager.SecurityInsights.Models.CcpAuthConfig, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SecurityInsights.Models.SessionAuthModel>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SecurityInsights.Models.SessionAuthModel>
type SessionAuthModel = class
inherit CcpAuthConfig
interface IJsonModel<SessionAuthModel>
interface IPersistableModel<SessionAuthModel>
Public Class SessionAuthModel
Inherits CcpAuthConfig
Implements IJsonModel(Of SessionAuthModel), IPersistableModel(Of SessionAuthModel)
- Inheritance
- Implements
Constructors
SessionAuthModel(IDictionary<String,String>, IDictionary<String,String>) |
Initializes a new instance of SessionAuthModel. |
Properties
Headers |
HTTP request headers to session service endpoint. |
IsPostPayloadJson |
Indicating whether API key is set in HTTP POST payload. |
Password |
The password attribute name. |
QueryParameters |
Query parameters to session service endpoint. To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
SessionIdName |
Session id attribute name from HTTP response header. |
SessionLoginRequestUri |
HTTP request URL to session service endpoint. |
SessionTimeoutInMinutes |
Session timeout in minutes. |
UserName |
The user name attribute key value. |