共用方式為


OpenIdConnectAuthenticationOptions.SecurityTokenHandlers Property

 

Gets or sets the SecurityTokenHandlerCollection of SecurityTokenHandlers used to read and validate SecurityTokens.

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

Syntax

public SecurityTokenHandlerCollection SecurityTokenHandlers { get; set; }
public:
property SecurityTokenHandlerCollection^ SecurityTokenHandlers {
    SecurityTokenHandlerCollection^ get();
    void set(SecurityTokenHandlerCollection^ value);
}
member SecurityTokenHandlers : SecurityTokenHandlerCollection with get, set
Public Property SecurityTokenHandlers As SecurityTokenHandlerCollection

Property Value

Type: System.IdentityModel.Tokens.SecurityTokenHandlerCollection

Returns SecurityTokenHandlerCollection.

Exceptions

Exception Condition
ArgumentNullException

if 'value' is null.

See Also

OpenIdConnectAuthenticationOptions Class
Microsoft.Owin.Security.OpenIdConnect Namespace

Return to top