Sha256: 05282e48b70a797203c739a35973bd037946bc7962d36bd3a6ca33cad4ad8438

Contents?: true

Size: 1.56 KB

Versions: 56

Compression:

Stored size: 1.56 KB

Contents

# EilamTest::AuthenticationApi

All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*

| Method | HTTP request | Description |
| ------ | ------------ | ----------- |
| [**token_auth_post**](AuthenticationApi.md#token_auth_post) | **POST** /token-auth |  |


## token_auth_post

> <AuthResponse> token_auth_post(authentication)



### Examples

```ruby
require 'time'
require 'eilam_test'

api_instance = EilamTest::AuthenticationApi.new
authentication = EilamTest::Authentication.new # Authentication | 

begin
  
  result = api_instance.token_auth_post(authentication)
  p result
rescue EilamTest::ApiError => e
  puts "Error when calling AuthenticationApi->token_auth_post: #{e}"
end
```

#### Using the token_auth_post_with_http_info variant

This returns an Array which contains the response data, status code and headers.

> <Array(<AuthResponse>, Integer, Hash)> token_auth_post_with_http_info(authentication)

```ruby
begin
  
  data, status_code, headers = api_instance.token_auth_post_with_http_info(authentication)
  p status_code # => 2xx
  p headers # => { ... }
  p data # => <AuthResponse>
rescue EilamTest::ApiError => e
  puts "Error when calling AuthenticationApi->token_auth_post_with_http_info: #{e}"
end
```

### Parameters

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **authentication** | [**Authentication**](Authentication.md) |  |  |

### Return type

[**AuthResponse**](AuthResponse.md)

### Authorization

No authorization required

### HTTP request headers

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

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
eilam_test-9.1 docs/AuthenticationApi.md
eilam_test-11.1 docs/AuthenticationApi.md
eilam_test-1.2.1 docs/AuthenticationApi.md
eilam_test-10.5 docs/AuthenticationApi.md
eilam_test-10.2 docs/AuthenticationApi.md
eilam_test-10 docs/AuthenticationApi.md
eilam_test-9 docs/AuthenticationApi.md
eilam_test-8 docs/AuthenticationApi.md
eilam_test-5.1.7 docs/AuthenticationApi.md
eilam_test-5.1.5 docs/AuthenticationApi.md
eilam_test-5.1.3 docs/AuthenticationApi.md
eilam_test-5.1.2 docs/AuthenticationApi.md
eilam_test-3.1.6 docs/AuthenticationApi.md
eilam_test-3.1.5 docs/AuthenticationApi.md
eilam_test-7 docs/AuthenticationApi.md
eilam_test-6 docs/AuthenticationApi.md
eilam_test-3.1.4 docs/AuthenticationApi.md
eilam_test-3.1.3 docs/AuthenticationApi.md
eilam_test-3.1.2 docs/AuthenticationApi.md
eilam_test-3.0.6 docs/AuthenticationApi.md