Table of Contents

Class PolicyRepresentation

Namespace
Keycloak.AuthServices.Sdk.Admin.Models
Assembly
Keycloak.AuthServices.Sdk.dll
public class PolicyRepresentation
Inheritance
PolicyRepresentation
Inherited Members

Properties

AdditionalProperties

[JsonExtensionData]
public IDictionary<string, object> AdditionalProperties { get; set; }

Property Value

IDictionary<string, object>

Config

[JsonPropertyName("config")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public IDictionary<string, string>? Config { get; set; }

Property Value

IDictionary<string, string>

DecisionStrategy

[JsonPropertyName("decisionStrategy")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonConverter(typeof(JsonStringEnumConverter))]
public DecisionStrategy? DecisionStrategy { get; set; }

Property Value

DecisionStrategy?

Description

[JsonPropertyName("description")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Description { get; set; }

Property Value

string

Id

[JsonPropertyName("id")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Id { get; set; }

Property Value

string

Logic

[JsonPropertyName("logic")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonConverter(typeof(JsonStringEnumConverter))]
public Logic? Logic { get; set; }

Property Value

Logic?

Name

[JsonPropertyName("name")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Name { get; set; }

Property Value

string

Owner

[JsonPropertyName("owner")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Owner { get; set; }

Property Value

string

Policies

[JsonPropertyName("policies")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ICollection<string>? Policies { get; set; }

Property Value

ICollection<string>

Resources

[JsonPropertyName("resources")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ICollection<string>? Resources { get; set; }

Property Value

ICollection<string>

ResourcesData

[JsonPropertyName("resourcesData")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ICollection<ResourceRepresentation>? ResourcesData { get; set; }

Property Value

ICollection<ResourceRepresentation>

Scopes

[JsonPropertyName("scopes")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ICollection<string>? Scopes { get; set; }

Property Value

ICollection<string>

ScopesData

[JsonPropertyName("scopesData")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ICollection<ScopeRepresentation>? ScopesData { get; set; }

Property Value

ICollection<ScopeRepresentation>

Type

[JsonPropertyName("type")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Type { get; set; }

Property Value

string