cortex-client 0.1.1

API for Cortex, a powerful observable analysis and active response engine.
Documentation
# \AuthenticationApi

All URIs are relative to */api*

Method | HTTP request | Description
------------- | ------------- | -------------
[**login**]AuthenticationApi.md#login | **POST** /login | Log in to Cortex
[**logout**]AuthenticationApi.md#logout | **POST** /logout | Log out from Cortex
[**sso_login**]AuthenticationApi.md#sso_login | **GET** /ssoLogin | Initiate or handle SSO login



## login

> models::AuthContext login(login_request)
Log in to Cortex

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**login_request** | [**LoginRequest**]LoginRequest.md |  | [required] |

### Return type

[**models::AuthContext**](AuthContext.md)

### Authorization

[SessionAuth](../README.md#SessionAuth), [ApiKeyAuth](../README.md#ApiKeyAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## logout

> logout()
Log out from Cortex

### Parameters

This endpoint does not need any parameter.

### Return type

 (empty response body)

### Authorization

[SessionAuth](../README.md#SessionAuth), [ApiKeyAuth](../README.md#ApiKeyAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: Not defined

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## sso_login

> models::AuthContext sso_login()
Initiate or handle SSO login

### Parameters

This endpoint does not need any parameter.

### Return type

[**models::AuthContext**](AuthContext.md)

### Authorization

[SessionAuth](../README.md#SessionAuth), [ApiKeyAuth](../README.md#ApiKeyAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)