sdkms.v1.models.auth_response module

Fortanix DSM REST API

This is a set of REST APIs for accessing the Fortanix Data Security Manager. This includes APIs for managing accounts, and for performing cryptographic and key management operations.

OpenAPI spec version: 1.0.0-20200608 Contact: support@fortanix.com Generated by: https://github.com/swagger-api/swagger-codegen.git

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

class sdkms.v1.models.auth_response.AuthResponse(token_type=None, expires_in=None, access_token=None, entity_id=None, challenge=None)[source]

Bases: object

swagger_types

The key is attribute name and the value is attribute type.

Type:

dict

attribute_map

The key is attribute name and the value is json key in definition.

Type:

dict

__init__(token_type=None, expires_in=None, access_token=None, entity_id=None, challenge=None)[source]

AuthResponse - a model defined in Swagger

property access_token

Gets the access_token of this AuthResponse. Bearer token to be used to authenticate to other APIs.

Type: str

Setter:

Sets the access_token of this AuthResponse.

property challenge

Gets the challenge of this AuthResponse.

Type: U2fMfaChallengeResponse

Setter:

Sets the challenge of this AuthResponse.

property entity_id

Gets the entity_id of this AuthResponse. The UUID of the entity that was authorized. For users, this will be the user’s UUID. For applications, this will be the application’s UUID.

Type: str

Setter:

Sets the entity_id of this AuthResponse.

property expires_in

Gets the expires_in of this AuthResponse. Number of seconds from token issuance that the token will expire.

Type: int

Setter:

Sets the expires_in of this AuthResponse.

property token_type

Gets the token_type of this AuthResponse.

Type: str

Setter:

Sets the token_type of this AuthResponse.