RestApiSecurityRequirement Class
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.
The REST API security requirement object.
public sealed class RestApiSecurityRequirement : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<Microsoft.SemanticKernel.Plugins.OpenApi.RestApiSecurityScheme,System.Collections.Generic.IList<string>>>, System.Collections.Generic.IDictionary<Microsoft.SemanticKernel.Plugins.OpenApi.RestApiSecurityScheme,System.Collections.Generic.IList<string>>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<Microsoft.SemanticKernel.Plugins.OpenApi.RestApiSecurityScheme,System.Collections.Generic.IList<string>>>, System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<Microsoft.SemanticKernel.Plugins.OpenApi.RestApiSecurityScheme,System.Collections.Generic.IList<string>>>, System.Collections.Generic.IReadOnlyDictionary<Microsoft.SemanticKernel.Plugins.OpenApi.RestApiSecurityScheme,System.Collections.Generic.IList<string>>
type RestApiSecurityRequirement = class
interface IDictionary<RestApiSecurityScheme, IList<string>>
interface ICollection<KeyValuePair<RestApiSecurityScheme, IList<string>>>
interface seq<KeyValuePair<RestApiSecurityScheme, IList<string>>>
interface IEnumerable
interface IReadOnlyDictionary<RestApiSecurityScheme, IList<string>>
interface IReadOnlyCollection<KeyValuePair<RestApiSecurityScheme, IList<string>>>
Public NotInheritable Class RestApiSecurityRequirement
Implements ICollection(Of KeyValuePair(Of RestApiSecurityScheme, IList(Of String))), IDictionary(Of RestApiSecurityScheme, IList(Of String)), IEnumerable(Of KeyValuePair(Of RestApiSecurityScheme, IList(Of String))), IReadOnlyCollection(Of KeyValuePair(Of RestApiSecurityScheme, IList(Of String))), IReadOnlyDictionary(Of RestApiSecurityScheme, IList(Of String))
- Inheritance
-
RestApiSecurityRequirement
- Implements
-
ICollection<KeyValuePair<RestApiSecurityScheme,IList<String>>> ICollection<KeyValuePair<TKey,TValue>> IDictionary<RestApiSecurityScheme,IList<String>> IEnumerable<KeyValuePair<RestApiSecurityScheme,IList<String>>> IEnumerable<KeyValuePair<TKey,TValue>> IEnumerable<T> IReadOnlyCollection<KeyValuePair<RestApiSecurityScheme,IList<String>>> IReadOnlyCollection<KeyValuePair<TKey,TValue>> IReadOnlyDictionary<RestApiSecurityScheme,IList<String>> IEnumerable
Properties
| Count |
Gets the number of elements contained in the RestApiSecurityRequirement. |
| Item[RestApiSecurityScheme] |
Gets or sets the security scheme scopes associated with the specified security scheme. |
| Keys |
Gets an ICollection<T> of all of the security schemes. |
| Values |
Gets an ICollection<T> of all of the security scheme scopes. |
Methods
| Add(RestApiSecurityScheme, IList<String>) |
Adds the specified security scheme to the RestApiSecurityRequirement. |
| Clear() |
Removes all the security schemes from the RestApiSecurityRequirement. |
| ContainsKey(RestApiSecurityScheme) |
Determines whether the RestApiSecurityRequirement contains a specific security scheme. |
| Remove(RestApiSecurityScheme) |
Removes the security scheme with the specified key from the RestApiSecurityRequirement. |
| TryGetValue(RestApiSecurityScheme, IList<String>) |
Get the security scheme scopes associated with the specified security scheme. |