Class AuthorizationRequest
Inherited Members
Namespace: Oci.IdentitydataplaneService.Models
Assembly: OCI.DotNetSDK.Identitydataplane.dll
Syntax
public class AuthorizationRequest
Properties
Context
Declaration
[Required(ErrorMessage = "Context is required.")]
[JsonProperty(PropertyName = "context")]
public List<PermissionContext> Context { get; set; }
Property Value
Type | Description |
---|---|
List<PermissionContext> | A set of permission contexts |
Remarks
Required
PolicyHash
Declaration
[Required(ErrorMessage = "PolicyHash is required.")]
[JsonProperty(PropertyName = "policyHash")]
public string PolicyHash { get; set; }
Property Value
Type | Description |
---|---|
string | The hash of cached policy on the caller service side. If this is different than what Identity has, it will send the most recent policy statements. |
Remarks
Required
RequestId
Declaration
[Required(ErrorMessage = "RequestId is required.")]
[JsonProperty(PropertyName = "requestId")]
public string RequestId { get; set; }
Property Value
Type | Description |
---|---|
string | The id of this request. It is a GUID. |
Remarks
Required
ServiceName
Declaration
[Required(ErrorMessage = "ServiceName is required.")]
[JsonProperty(PropertyName = "serviceName")]
public string ServiceName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the service that is making this authorization request |
Remarks
Required
SvcPrincipal
Declaration
[Required(ErrorMessage = "SvcPrincipal is required.")]
[JsonProperty(PropertyName = "svcPrincipal")]
public Principal SvcPrincipal { get; set; }
Property Value
Type | Description |
---|---|
Principal | The service principal object for service to service calls. |
Remarks
Required
UserPrincipal
Declaration
[Required(ErrorMessage = "UserPrincipal is required.")]
[JsonProperty(PropertyName = "userPrincipal")]
public Principal UserPrincipal { get; set; }
Property Value
Type | Description |
---|---|
Principal | The user principal object |
Remarks
Required