Class ScopeProps

Assembly: redb.Identity.Core.dll

PROPS Props for OAuth 2.0 scope definition.
Base fields: name = scope display name.

[RedbScheme("identity.scope")]
public class ScopeProps

Inheritance

Object→ScopeProps

Properties

Description

Human-readable description.

public string? Description { get; set; }

Descriptions

Localized descriptions.

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

DisplayNames

Localized display names: { "en": "Profile", "de": "Profil" }.

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

Properties

Extensible properties bag.

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

Resources

Resource servers this scope grants access to.

public string[]? Resources { get; set; }

ScopeName

Unique scope identifier (e.g. "openid", "profile", "api") — unique per scheme via

public string? ScopeName { get; set; }