Поделиться через


SecurityHelper Structure

 

Helper code used when implementing authentication middleware

Namespace:   Microsoft.Owin.Security.Infrastructure
Assembly:  Microsoft.Owin.Security (in Microsoft.Owin.Security.dll)

Syntax

public struct SecurityHelper
public value struct SecurityHelper
[<Sealed>]
type SecurityHelper = struct end
Public Structure SecurityHelper

Constructors

Name Description
System_CAPS_pubmethod SecurityHelper(IOwinContext)

Helper code used when implementing authentication middleware

Methods

Name Description
System_CAPS_pubmethod AddUserIdentity(IIdentity)

Add an additional ClaimsIdentity to the ClaimsPrincipal in the "server.User" environment key

System_CAPS_pubmethod Equals(Object)

(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethod Equals(SecurityHelper)

System_CAPS_pubmethod GetHashCode()

(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod LookupChallenge(String, AuthenticationMode)

Find response challenge details for a specific authentication middleware

System_CAPS_pubmethod LookupSignIn(String)

System_CAPS_pubmethod LookupSignOut(String, AuthenticationMode)

System_CAPS_pubmethod ToString()

(Inherited from ValueType.)

Operators

Name Description
System_CAPS_puboperatorSystem_CAPS_static Equality(SecurityHelper, SecurityHelper)

System_CAPS_puboperatorSystem_CAPS_static Inequality(SecurityHelper, SecurityHelper)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Owin.Security.Infrastructure Namespace

Return to top