Partager via


JwtBearerEvents.OnChallenge Propriété

Définition

Appelé avant qu’un défi ne soit renvoyé à l’appelant.

public:
 property Func<Microsoft::AspNetCore::Authentication::JwtBearer::JwtBearerChallengeContext ^, System::Threading::Tasks::Task ^> ^ OnChallenge { Func<Microsoft::AspNetCore::Authentication::JwtBearer::JwtBearerChallengeContext ^, System::Threading::Tasks::Task ^> ^ get(); void set(Func<Microsoft::AspNetCore::Authentication::JwtBearer::JwtBearerChallengeContext ^, System::Threading::Tasks::Task ^> ^ value); };
public Func<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerChallengeContext,System.Threading.Tasks.Task> OnChallenge { get; set; }
member this.OnChallenge : Func<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerChallengeContext, System.Threading.Tasks.Task> with get, set
Public Property OnChallenge As Func(Of JwtBearerChallengeContext, Task)

Valeur de propriété

S’applique à