Sha256: 1e9db3491405eaafcf0e82260a7de1be364f5f0de058968dce349d9af2110b8f

Contents?: true

Size: 1.63 KB

Versions: 138

Compression:

Stored size: 1.63 KB

Contents

# AutosdeOpenapiClient::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 'autosde_openapi_client'

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

begin
  
  result = api_instance.token_auth_post(authentication)
  p result
rescue AutosdeOpenapiClient::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 AutosdeOpenapiClient::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

138 entries across 138 versions & 2 rubygems

Version Path
autosde_openapi_client-3.2.14 docs/AuthenticationApi.md
autosde_openapi_client-3.2.13 docs/AuthenticationApi.md
autosde_openapi_client-3.2.12 docs/AuthenticationApi.md
autosde_openapi_client-3.2.11 docs/AuthenticationApi.md
autosde_openapi_client-3.2.10 docs/AuthenticationApi.md
autosde_openapi_client-3.2.9 docs/AuthenticationApi.md
autosde_openapi_client-3.2.8 docs/AuthenticationApi.md
autosde_openapi_client-3.2.7 docs/AuthenticationApi.md
autosde_openapi_client-3.2.6 docs/AuthenticationApi.md
autosde_openapi_client-3.2.5 docs/AuthenticationApi.md
autosde_openapi_client-3.2.4 docs/AuthenticationApi.md
autosde_openapi_client-3.2.3 docs/AuthenticationApi.md
autosde_openapi_client-3.2.2 docs/AuthenticationApi.md
autosde_openapi_client-3.2.1 docs/AuthenticationApi.md
autosde_openapi_client-3.2.0 docs/AuthenticationApi.md
autosde_openapi_client-3.1.2 docs/AuthenticationApi.md
autosde_openapi_client-3.1.1 docs/AuthenticationApi.md
autosde_openapi_client-3.0.3 docs/AuthenticationApi.md
autosde_openapi_client-3.1.0 docs/AuthenticationApi.md
autosde_openapi_client-3.0.2 docs/AuthenticationApi.md