ApiScopeCollection.ContainsScope(String) 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.
Gets whether a given scope is defined or not.
public:
bool ContainsScope(System::String ^ key);
public bool ContainsScope (string key);
member this.ContainsScope : string -> bool
Public Function ContainsScope (key As String) As Boolean
Parameters
- key
- String
The name of the Duende.IdentityServer.Models.ApiScope.
Returns
true
when the scope is defined; false
otherwise.