@jellyfin/sdk
Version:
A TypeScript SDK for Jellyfin.
44 lines (43 loc) • 1.13 kB
TypeScript
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit the class manually.
*
* Jellyfin API
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
import type { SessionInfoDto } from './session-info-dto';
import type { UserDto } from './user-dto';
/**
* A class representing an authentication result.
* @export
* @interface AuthenticationResult
*/
export interface AuthenticationResult {
/**
*
* @type {UserDto}
* @memberof AuthenticationResult
*/
'User'?: UserDto;
/**
*
* @type {SessionInfoDto}
* @memberof AuthenticationResult
*/
'SessionInfo'?: SessionInfoDto;
/**
* Gets or sets the access token.
* @type {string}
* @memberof AuthenticationResult
*/
'AccessToken'?: string | null;
/**
* Gets or sets the server id.
* @type {string}
* @memberof AuthenticationResult
*/
'ServerId'?: string | null;
}