Dela via


ApiScopeCollection.ContainsScope(String) Method

Definition

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.

Applies to