AuthorizationBuilder.AddFallbackPolicy Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
AddFallbackPolicy(String, AuthorizationPolicy) |
Agregue una directiva que se compila a partir de un delegado con el nombre proporcionado y se usa como fallbackPolicy. |
AddFallbackPolicy(String, Action<AuthorizationPolicyBuilder>) |
Agregue una directiva que se compila a partir de un delegado con el nombre proporcionado y se usa como fallbackPolicy. |
AddFallbackPolicy(String, AuthorizationPolicy)
- Source:
- AuthorizationBuilder.cs
- Source:
- AuthorizationBuilder.cs
- Source:
- AuthorizationBuilder.cs
Agregue una directiva que se compila a partir de un delegado con el nombre proporcionado y se usa como fallbackPolicy.
public virtual Microsoft.AspNetCore.Authorization.AuthorizationBuilder AddFallbackPolicy (string name, Microsoft.AspNetCore.Authorization.AuthorizationPolicy policy);
abstract member AddFallbackPolicy : string * Microsoft.AspNetCore.Authorization.AuthorizationPolicy -> Microsoft.AspNetCore.Authorization.AuthorizationBuilder
override this.AddFallbackPolicy : string * Microsoft.AspNetCore.Authorization.AuthorizationPolicy -> Microsoft.AspNetCore.Authorization.AuthorizationBuilder
Public Overridable Function AddFallbackPolicy (name As String, policy As AuthorizationPolicy) As AuthorizationBuilder
Parámetros
- name
- String
Nombre de FallbackPolicy.
- policy
- AuthorizationPolicy
AuthorizationPolicyReserva .>
Devoluciones
Generador.
Se aplica a
AddFallbackPolicy(String, Action<AuthorizationPolicyBuilder>)
- Source:
- AuthorizationBuilder.cs
- Source:
- AuthorizationBuilder.cs
- Source:
- AuthorizationBuilder.cs
Agregue una directiva que se compila a partir de un delegado con el nombre proporcionado y se usa como fallbackPolicy.
public virtual Microsoft.AspNetCore.Authorization.AuthorizationBuilder AddFallbackPolicy (string name, Action<Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder> configurePolicy);
abstract member AddFallbackPolicy : string * Action<Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder> -> Microsoft.AspNetCore.Authorization.AuthorizationBuilder
override this.AddFallbackPolicy : string * Action<Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder> -> Microsoft.AspNetCore.Authorization.AuthorizationBuilder
Public Overridable Function AddFallbackPolicy (name As String, configurePolicy As Action(Of AuthorizationPolicyBuilder)) As AuthorizationBuilder
Parámetros
- name
- String
Nombre de la directiva de reserva.
- configurePolicy
- Action<AuthorizationPolicyBuilder>
Delegado que se usará para compilar la directiva de reserva.
Devoluciones
Generador.