Show / Hide Table of Contents

Class ServerSentEventsAuthorization

Defines authorization rules for Server-Sent Events endpoint.

Inheritance
object
ServerSentEventsAuthorization
Implements
IAuthorizeData
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Lib.AspNetCore.ServerSentEvents
Assembly: Lib.AspNetCore.ServerSentEvents.dll
Syntax
public class ServerSentEventsAuthorization : IAuthorizeData

Properties

AuthenticationSchemes

Gets or sets a comma delimited list of schemes from which user information is constructed.

Declaration
public string AuthenticationSchemes { get; set; }
Property Value
Type Description
string

Default

Gets the ServerSentEventsAuthorization instance which will result in using the default authorization policy.

Declaration
public static ServerSentEventsAuthorization Default { get; }
Property Value
Type Description
ServerSentEventsAuthorization

Policy

Gets or sets the policy name that determines access to the endpoint.

Declaration
public string Policy { get; set; }
Property Value
Type Description
string

Roles

Gets or sets a comma delimited list of roles that are allowed to access the endpoint.

Declaration
public string Roles { get; set; }
Property Value
Type Description
string

Implements

IAuthorizeData
Back to top Copyright © 2017 - 2025 Tomasz Pęczek