AuthenticationRequest
Bases: OCIRequest
AuthenticationRequest()/AuthenticationResponse is 1st stage of the 2 stage OCI login process.
Attributes:
| Name | Type | Description |
|---|---|---|
user_id | str |
Source code in src/mercury_ocip_fast/commands/commands.py
Responses
Bases: OCIDataResponse
AuthenticationRequest()/Response is 1st stage of the 2 stage OCI login process.
Attributes:
| Name | Type | Description |
|---|---|---|
user_id | str | userId |
nonce | str | nonce |
password_algorithm | str | passwordAlgorithm |
Source code in src/mercury_ocip_fast/commands/commands.py
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import AuthenticationRequest
client = Client()
command = AuthenticationRequest(
user_id=...,
)
response = client.command(command)
print(response)