AuthenticationHandler<TOptions>.HandleRequestAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called once by common code after initialization. If an authentication middleware responds directly to specifically known paths it must override this virtual, compare the request path to it's known paths, provide any response information as appropriate, and true to stop further processing.
public:
virtual System::Threading::Tasks::Task<bool> ^ HandleRequestAsync();
public virtual System.Threading.Tasks.Task<bool> HandleRequestAsync ();
abstract member HandleRequestAsync : unit -> System.Threading.Tasks.Task<bool>
override this.HandleRequestAsync : unit -> System.Threading.Tasks.Task<bool>
Public Overridable Function HandleRequestAsync () As Task(Of Boolean)
Returns
Returning false will cause the common code to call the next middleware in line. Returning true will cause the common code to begin the async completion journey without calling the rest of the middleware pipeline.