ThickAuthorizationResponse¶
- class oci.identity_data_plane.models.ThickAuthorizationResponse(**kwargs)¶
Bases:
objectThickAuthorizationResponse model.
Methods:
__init__(**kwargs)Initializes a new ThickAuthorizationResponse object with values from keyword arguments.
Attributes:
Gets the flush_all_caches of this ThickAuthorizationResponse.
[Required] Gets the group_membership_cache_duration of this ThickAuthorizationResponse.
[Required] Gets the groups of this ThickAuthorizationResponse.
[Required] Gets the policy of this ThickAuthorizationResponse.
[Required] Gets the policy_cache_duration of this ThickAuthorizationResponse.
- __init__(**kwargs)¶
Initializes a new ThickAuthorizationResponse object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
policy (str) – The value to assign to the policy property of this ThickAuthorizationResponse.
policy_cache_duration (str) – The value to assign to the policy_cache_duration property of this ThickAuthorizationResponse.
groups (list[str]) – The value to assign to the groups property of this ThickAuthorizationResponse.
group_membership_cache_duration (str) – The value to assign to the group_membership_cache_duration property of this ThickAuthorizationResponse.
flush_all_caches (bool) – The value to assign to the flush_all_caches property of this ThickAuthorizationResponse.
- property flush_all_caches¶
Gets the flush_all_caches of this ThickAuthorizationResponse. If set to true, the SDK should clear the caches.
- Returns
The flush_all_caches of this ThickAuthorizationResponse.
- Return type
bool
- property group_membership_cache_duration¶
[Required] Gets the group_membership_cache_duration of this ThickAuthorizationResponse. The duration of how long the user’s group membership should be cached. Note that the type is of type java.time.Duration, not string.
- Returns
The group_membership_cache_duration of this ThickAuthorizationResponse.
- Return type
str
- property groups¶
[Required] Gets the groups of this ThickAuthorizationResponse. The policy string related to the request.
- Returns
The groups of this ThickAuthorizationResponse.
- Return type
list[str]
- property policy¶
[Required] Gets the policy of this ThickAuthorizationResponse. The policy string related to the request
- Returns
The policy of this ThickAuthorizationResponse.
- Return type
str
- property policy_cache_duration¶
[Required] Gets the policy_cache_duration of this ThickAuthorizationResponse. The duration of how long this policy should be cached. Note that the type is of type java.time.Duration, not string.
- Returns
The policy_cache_duration of this ThickAuthorizationResponse.
- Return type
str