@atproto/oauth-client
Version:
OAuth client for ATPROTO PDS. This package serves as common base for environment-specific implementations (NodeJS, Browser, React-Native).
12 lines • 463 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.clientMetadataSchema = void 0;
const oauth_types_1 = require("@atproto/oauth-types");
const zod_1 = require("zod");
exports.clientMetadataSchema = oauth_types_1.oauthClientMetadataSchema.extend({
client_id: zod_1.z.union([
oauth_types_1.oauthClientIdDiscoverableSchema,
oauth_types_1.oauthClientIdLoopbackSchema,
]),
});
//# sourceMappingURL=types.js.map