"use strict";
/*
 * @adonisjs/auth
 *
 * (c) Harminder Virk <virk@adonisjs.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.ProviderToken = void 0;
/**
 * Token returned and accepted by the token providers
 */
class ProviderToken {
    constructor(name, // Name associated with the token
    tokenHash, // The hash to persist
    userId, // The user for which the token is generated
    type // The type of the token.
    ) {
        this.name = name;
        this.tokenHash = tokenHash;
        this.userId = userId;
        this.type = type;
    }
}
exports.ProviderToken = ProviderToken;
