Class SettingsTenantCustomClaims
Custom claims associated with the specific tenant
Inherited Members
Namespace: Oci.IdentitydomainsService.Models
Assembly: OCI.DotNetSDK.Identitydomains.dll
Syntax
public class SettingsTenantCustomClaims
Properties
AllScopes
Declaration
[Required(ErrorMessage = "AllScopes is required.")]
[JsonProperty(PropertyName = "allScopes")]
public bool? AllScopes { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates if the custom claim is associated with all scopes
|
Remarks
Required
Expression
Declaration
[Required(ErrorMessage = "Expression is required.")]
[JsonProperty(PropertyName = "expression")]
public bool? Expression { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates if the custom claim is an expression
|
Remarks
Required
Mode
Declaration
[Required(ErrorMessage = "Mode is required.")]
[JsonProperty(PropertyName = "mode")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SettingsTenantCustomClaims.ModeEnum? Mode { get; set; }
Property Value
Type | Description |
---|---|
SettingsTenantCustomClaims.ModeEnum? | Indicates under what scenario the custom claim will be return
|
Remarks
Required
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | Custom claim name
|
Remarks
Required
Scopes
Declaration
[JsonProperty(PropertyName = "scopes")]
public List<string> Scopes { get; set; }
Property Value
Type | Description |
---|---|
List<string> | Scopes associated with a specific custom claim
|
TokenType
Declaration
[Required(ErrorMessage = "TokenType is required.")]
[JsonProperty(PropertyName = "tokenType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SettingsTenantCustomClaims.TokenTypeEnum? TokenType { get; set; }
Property Value
Type | Description |
---|---|
SettingsTenantCustomClaims.TokenTypeEnum? | Indicates what type of token the custom claim will be embedded
|
Remarks
Required
Value
Declaration
[Required(ErrorMessage = "Value is required.")]
[JsonProperty(PropertyName = "value")]
public string Value { get; set; }
Property Value
Type | Description |
---|---|
string | Custom claim value
|
Remarks
Required