共用方式為


OpenIdConnectAuthenticationHandler.RememberNonce Method (OpenIdConnectMessage, String)

 

'Remembers' the nonce associated with this message. By default the nonce added as a secure cookie.

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

Syntax

protected virtual void RememberNonce(
    OpenIdConnectMessage message,
    string nonce
)
protected:
virtual void RememberNonce(
    OpenIdConnectMessage^ message,
    String^ nonce
)
abstract RememberNonce : 
        message:OpenIdConnectMessage *
        nonce:string -> unit
override RememberNonce : 
        message:OpenIdConnectMessage *
        nonce:string -> unit
Protected Overridable Sub RememberNonce (
    message As OpenIdConnectMessage,
    nonce As String
)

Parameters

  • message
    Type: Microsoft.IdentityModel.Protocols.OpenIdConnectMessage

    OpenIdConnectMessage associatied with the nonce.

Remarks

A cookie is added with the name obtained from GetNonceKey.

See Also

OpenIdConnectAuthenticationHandler Class
Microsoft.Owin.Security.OpenIdConnect Namespace

Return to top