共用方式為


OpenIdConnectAuthenticationOptions.RefreshOnIssuerKeyNotFound Property

 

Gets or sets if a metadata refresh should be attempted after a SecurityTokenSignatureKeyNotFoundException. This allows for automatic recovery in the event of a signature key rollover. This is enabled by default.

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

Syntax

public bool RefreshOnIssuerKeyNotFound { get; set; }
public:
property bool RefreshOnIssuerKeyNotFound {
    bool get();
    void set(bool value);
}
member RefreshOnIssuerKeyNotFound : bool with get, set
Public Property RefreshOnIssuerKeyNotFound As Boolean

Property Value

Type: System.Boolean

Returns Boolean.

See Also

OpenIdConnectAuthenticationOptions Class
Microsoft.Owin.Security.OpenIdConnect Namespace

Return to top