Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Duende.​IdentityServer.​Models.​ResourceExtensions
Assembly: Duende.IdentityServer
Inheritance: object → ResourceExtensions
Extensions for Resource
Methods
public static
System.​Collections.​Generic.​IEnumerable<​string>
GetRequiredScopeValues​(Validation.​ResourceValidationResult resourceValidationResult)
Returns the collection of scope values that are required.
public static
System.​Collections.​Generic.​IEnumerable<​string>
ToScopeNames​(Resources resources)
Converts to scope names.
resources
The resources.
public static
IdentityResource
FindIdentityResourcesByScope​(Resources resources,
string name)
Finds the IdentityResource that matches the scope.
resources
The resources.
name
The name.
public static
System.​Collections.​Generic.​IEnumerable<​ApiResource>
FindApiResourcesByScope​(Resources resources,
string name)
Finds the API resources that contain the scope.
resources
The resources.
name
The name.
public static
ApiScope
FindApiScope​(Resources resources,
string name)
Finds the API scope.
resources
The resources.
name
The name.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object