ClientParametersTagHelper Class

Definition

A tag helper for generating client parameters for a given oauth/openid client as data attributes.

public ref class ClientParametersTagHelper : Microsoft::AspNetCore::Razor::TagHelpers::TagHelper
[Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElement("*", Attributes="[asp-apiauth-parameters]")]
public class ClientParametersTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper
[<Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElement("*", Attributes="[asp-apiauth-parameters]")>]
type ClientParametersTagHelper = class
    inherit TagHelper
Public Class ClientParametersTagHelper
Inherits TagHelper
Inheritance
ClientParametersTagHelper
Attributes

Constructors

ClientParametersTagHelper(IClientRequestParametersProvider)

Initializes a new instance of ClientParametersTagHelper.

Properties

ClientId

Gets or sets the client id.

Order

When a set of ITagHelpers are executed, their Init(TagHelperContext)'s are first invoked in the specified Order; then their ProcessAsync(TagHelperContext, TagHelperOutput)'s are invoked in the specified Order. Lower values are executed first.

(Inherited from TagHelper)
ViewContext

Gets or sets the ViewContext.

Methods

Init(TagHelperContext)

Initializes the ITagHelper with the given context. Additions to Items should be done within this method to ensure they're added prior to executing the children.

(Inherited from TagHelper)
Process(TagHelperContext, TagHelperOutput)

Synchronously executes the TagHelper with the given context and output.

ProcessAsync(TagHelperContext, TagHelperOutput)

Asynchronously executes the TagHelper with the given context and output.

(Inherited from TagHelper)

Applies to