GenerateScopedAccessTokenDetails¶
- class oci.identity_data_plane.models.GenerateScopedAccessTokenDetails(**kwargs)¶
Bases:
objectGenerateScopedAccessTokenDetails model.
Methods:
__init__(**kwargs)Initializes a new GenerateScopedAccessTokenDetails object with values from keyword arguments.
Attributes:
[Required] Gets the public_key of this GenerateScopedAccessTokenDetails.
[Required] Gets the scope of this GenerateScopedAccessTokenDetails.
- __init__(**kwargs)¶
Initializes a new GenerateScopedAccessTokenDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
scope (str) – The value to assign to the scope property of this GenerateScopedAccessTokenDetails.
public_key (str) – The value to assign to the public_key property of this GenerateScopedAccessTokenDetails.
- property public_key¶
[Required] Gets the public_key of this GenerateScopedAccessTokenDetails. A temporary public key, owned by the service. The service also owns the corresponding private key. This public key will be put inside the security token by the auth service after successful validation of the certificate.
- Returns
The public_key of this GenerateScopedAccessTokenDetails.
- Return type
str
- property scope¶
[Required] Gets the scope of this GenerateScopedAccessTokenDetails. Scope definition for the scoped access token
- Returns
The scope of this GenerateScopedAccessTokenDetails.
- Return type
str