/** * 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. */ /** * Signed token containing the the information necessary to reset 2fa for a user. * @export * @interface TwoFactorAuthResetToken */ export interface TwoFactorAuthResetToken { /** * * @type {string} * @memberof TwoFactorAuthResetToken */ concreteType: TwoFactorAuthResetTokenConcreteTypeEnum; /** * The hash message authentication code for the message. * @type {string} * @memberof TwoFactorAuthResetToken */ hmac?: string; /** * The version of the key used to generate the HMAC. * @type {number} * @memberof TwoFactorAuthResetToken */ version?: number; /** * The date-time when this token expires. * @type {string} * @memberof TwoFactorAuthResetToken */ expiresOn?: string; /** * The date-time the token was generated. * @type {string} * @memberof TwoFactorAuthResetToken */ createdOn?: string; /** * The id of the user. * @type {number} * @memberof TwoFactorAuthResetToken */ userId?: number; } /** * @export */ export declare const TwoFactorAuthResetTokenConcreteTypeEnum: { readonly org_sagebionetworks_repo_model_auth_TwoFactorAuthResetToken: "org.sagebionetworks.repo.model.auth.TwoFactorAuthResetToken"; }; export type TwoFactorAuthResetTokenConcreteTypeEnum = typeof TwoFactorAuthResetTokenConcreteTypeEnum[keyof typeof TwoFactorAuthResetTokenConcreteTypeEnum]; /** * Check if a given object implements the TwoFactorAuthResetToken interface. */ export declare function instanceOfTwoFactorAuthResetToken(value: object): value is TwoFactorAuthResetToken; export declare function TwoFactorAuthResetTokenFromJSON(json: any): TwoFactorAuthResetToken; export declare function TwoFactorAuthResetTokenFromJSONTyped(json: any, ignoreDiscriminator: boolean): TwoFactorAuthResetToken; export declare function TwoFactorAuthResetTokenToJSON(json: any): TwoFactorAuthResetToken; export declare function TwoFactorAuthResetTokenToJSONTyped(value?: TwoFactorAuthResetToken | null, ignoreDiscriminator?: boolean): any;