IScopeManager Interface
Abblix.Oidc.Server
Abblix.Oidc.Server.Features.ScopeManagement
IScopeManager Interface
Registry of OAuth 2.0 scope definitions known to the authorization server (RFC 6749 §3.3),
including the OIDC standard scopes (openid, profile, email, address,
phone, offline_access; OIDC Core §5.4) and any host-defined custom scopes.
Implements System.Collections.Generic.IEnumerable<> so callers may iterate the full registered set.
public interface IScopeManager : System.Collections.Generic.IEnumerable<Abblix.Oidc.Server.Common.Constants.ScopeDefinition>, System.Collections.IEnumerable
Derived
↳ ScopeManager
Implements System.Collections.Generic.IEnumerable<ScopeDefinition>, System.Collections.IEnumerable
Methods
IScopeManager.TryGet(string, ScopeDefinition) Method
Attempts to retrieve the definition of a specified scope.
bool TryGet(string scope, out Abblix.Oidc.Server.Common.Constants.ScopeDefinition definition);
Parameters
scope System.String
The scope identifier to retrieve the definition for.
definition ScopeDefinition
Outputs the ScopeDefinition if the scope exists, otherwise null.
Returns
System.Boolean
True if the scope exists and the definition is retrieved, false otherwise.