Class GenerateUserSecurityTokenDetails
Request parameters in body for obtaining a user principal session token (UPST) for self.
Inherited Members
Namespace: Oci.IdentitydataplaneService.Models
Assembly: OCI.DotNetSDK.Identitydataplane.dll
Syntax
public class GenerateUserSecurityTokenDetails
Properties
PublicKey
Declaration
[Required(ErrorMessage = "PublicKey is required.")]
[JsonProperty(PropertyName = "publicKey")]
public string PublicKey { get; set; }
Property Value
Type | Description |
---|---|
string | The user-owned public key in PEM format that corresponds to the RSA key pair used for signing requests. The user also owns the corresponding private key. This public key will be put inside the user security token by the auth service after successful validation of the request. |
Remarks
Required
SessionExpirationInMinutes
Declaration
[JsonProperty(PropertyName = "sessionExpirationInMinutes")]
public int? SessionExpirationInMinutes { get; set; }
Property Value
Type | Description |
---|---|
int? | User session expiration in minutes to which the requested user principal session token (UPST) is bounded. Valid values are from 5 to 60 for all realms. |