UNPKG

@digitalpersona/services

Version:
20 lines 616 B
/** * A request for a identity claim. * The service will search an {@link ClaimRequest.attr | attribute} in a {@link ClaimRequest.database} * and return the attribute value as a claim {@link ClaimRequest.name | name} in a token. */ export class ClaimRequest { /** Constructs a claim request. */ constructor( /** A name of a claim to return. */ name, /** A database to search for an attribute. */ db, /** An attribute name to search. */ attr) { this.name = name; this.db = db; this.attr = attr; } } //# sourceMappingURL=claim.js.map