Authentication¶
Login, logout, API token lifecycle, session management.
Auto-generated
This page is generated from source code by the schema extractor. Do not edit by hand — changes will be overwritten.
mythic_login¶
Authenticate with Mythic server using username and password
Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
username | string | required | Mythic username |
password | string | required | Mythic password |
mythic_logout¶
End the current Mythic session and clear authentication
No parameters.
mythic_is_authenticated¶
Check if currently authenticated with Mythic server
No parameters.
mythic_get_current_user¶
Get information about the current authenticated user
No parameters.
mythic_create_api_token¶
Create a new API token for programmatic access
Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
token_type | *string | optional | Optional token type for compatibility. Currently only 'User' is supported and other values are ignored by Mythic's API token endpoint. |
mythic_delete_api_token¶
Delete an existing API token
Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
token_id | int | required | ID of the token to delete |
mythic_refresh_token¶
Refresh the current access token to extend session
No parameters.