Table of Contents

Class ResourceResponse

Namespace
Keycloak.AuthServices.Sdk.Protection.Models
Assembly
Keycloak.AuthServices.Sdk.dll

Represents a response containing information about a resource.

public class ResourceResponse
Inheritance
ResourceResponse
Inherited Members

Properties

Attributes

Gets or sets the attributes associated with the resource.

public Dictionary<string, List<string>?>? Attributes { get; set; }

Property Value

Dictionary<string, List<string>>

DisplayName

Gets or sets the display name of the resource.

public string? DisplayName { get; set; }

Property Value

string

Id

Gets or sets the ID of the resource.

[JsonPropertyName("_id")]
public string Id { get; set; }

Property Value

string

Name

Gets or sets the name of the resource.

public string? Name { get; set; }

Property Value

string

Owner

Gets or sets the owner of the resource.

public Owner? Owner { get; set; }

Property Value

Owner

OwnerManagedAccess

Gets or sets a value indicating whether the access to the resource is managed by the owner.

public bool? OwnerManagedAccess { get; set; }

Property Value

bool?

ResourceScopes

Gets or sets the resource scopes associated with the resource.

[JsonPropertyName("resource_scopes")]
public IList<ResourceScope>? ResourceScopes { get; set; }

Property Value

IList<ResourceScope>

Scopes

Gets or sets the scopes associated with the resource.

public IList<Scope>? Scopes { get; set; }

Property Value

IList<Scope>

Type

Gets or sets the type of the resource.

public string? Type { get; set; }

Property Value

string

Uris

Gets or sets the URIs associated with the resource.

public IList<string>? Uris { get; set; }

Property Value

IList<string>