/** * Synapse REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * A token returned to the user upon successful authentication. * @export * @interface AuthenticationReceiptToken */ export interface AuthenticationReceiptToken { /** * * @type {string} * @memberof AuthenticationReceiptToken */ concreteType: AuthenticationReceiptTokenConcreteTypeEnum; /** * The hash message authentication code for the message. * @type {string} * @memberof AuthenticationReceiptToken */ hmac?: string; /** * The version of the key used to generate the HMAC. * @type {number} * @memberof AuthenticationReceiptToken */ version?: number; /** * The date-time when this token expires. * @type {string} * @memberof AuthenticationReceiptToken */ expiresOn?: string; /** * The date-time the token was generated. * @type {string} * @memberof AuthenticationReceiptToken */ createdOn?: string; /** * The ID of the user account. * @type {number} * @memberof AuthenticationReceiptToken */ userId?: number; } /** * @export */ export declare const AuthenticationReceiptTokenConcreteTypeEnum: { readonly org_sagebionetworks_repo_model_auth_AuthenticationReceiptToken: "org.sagebionetworks.repo.model.auth.AuthenticationReceiptToken"; }; export type AuthenticationReceiptTokenConcreteTypeEnum = typeof AuthenticationReceiptTokenConcreteTypeEnum[keyof typeof AuthenticationReceiptTokenConcreteTypeEnum]; /** * Check if a given object implements the AuthenticationReceiptToken interface. */ export declare function instanceOfAuthenticationReceiptToken(value: object): value is AuthenticationReceiptToken; export declare function AuthenticationReceiptTokenFromJSON(json: any): AuthenticationReceiptToken; export declare function AuthenticationReceiptTokenFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticationReceiptToken; export declare function AuthenticationReceiptTokenToJSON(json: any): AuthenticationReceiptToken; export declare function AuthenticationReceiptTokenToJSONTyped(value?: AuthenticationReceiptToken | null, ignoreDiscriminator?: boolean): any;