{"version":3,"file":"jwk.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/jwk.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/jwk.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from '@protobuf-ts/runtime';\n/**\n * Key to uniquely identify a JWK.\n *\n * @generated from protobuf message sui.rpc.v2.JwkId\n */\nexport interface JwkId {\n\t/**\n\t * The issuer or identity of the OIDC provider.\n\t *\n\t * @generated from protobuf field: optional string iss = 1;\n\t */\n\tiss?: string;\n\t/**\n\t * A key ID used to uniquely identify a key from an OIDC provider.\n\t *\n\t * @generated from protobuf field: optional string kid = 2;\n\t */\n\tkid?: string;\n}\n/**\n * A JSON web key.\n *\n * Struct that contains info for a JWK. A list of them for different kinds can\n * be retrieved from the JWK endpoint (for example, <https://www.googleapis.com/oauth2/v3/certs>).\n * The JWK is used to verify the JWT token.\n *\n * @generated from protobuf message sui.rpc.v2.Jwk\n */\nexport interface Jwk {\n\t/**\n\t * Key type parameter, https://datatracker.ietf.org/doc/html/rfc7517#section-4.1.\n\t *\n\t * @generated from protobuf field: optional string kty = 1;\n\t */\n\tkty?: string;\n\t/**\n\t * RSA public exponent, https://datatracker.ietf.org/doc/html/rfc7517#section-9.3.\n\t *\n\t * @generated from protobuf field: optional string e = 2;\n\t */\n\te?: string;\n\t/**\n\t * RSA modulus, https://datatracker.ietf.org/doc/html/rfc7517#section-9.3.\n\t *\n\t * @generated from protobuf field: optional string n = 3;\n\t */\n\tn?: string;\n\t/**\n\t * Algorithm parameter, https://datatracker.ietf.org/doc/html/rfc7517#section-4.4.\n\t *\n\t * @generated from protobuf field: optional string alg = 4;\n\t */\n\talg?: string;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass JwkId$Type extends MessageType<JwkId> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.JwkId', [\n\t\t\t{ no: 1, name: 'iss', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'kid', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.JwkId\n */\nexport const JwkId = new JwkId$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Jwk$Type extends MessageType<Jwk> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.Jwk', [\n\t\t\t{ no: 1, name: 'kty', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'e', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'n', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'alg', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.Jwk\n */\nexport const Jwk = new Jwk$Type();\n"],"mappings":";;;AAmEA,IAAM,aAAN,cAAyB,YAAmB;CAC3C,cAAc;AACb,QAAM,oBAAoB,CACzB;GAAE,IAAI;GAAG,MAAM;GAAO,MAAM;GAAU,KAAK;GAAM,GAAG;GAAyB,EAC7E;GAAE,IAAI;GAAG,MAAM;GAAO,MAAM;GAAU,KAAK;GAAM,GAAG;GAAyB,CAC7E,CAAC;;;;;;AAMJ,MAAa,QAAQ,IAAI,YAAY;AAErC,IAAM,WAAN,cAAuB,YAAiB;CACvC,cAAc;AACb,QAAM,kBAAkB;GACvB;IAAE,IAAI;IAAG,MAAM;IAAO,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GAC7E;IAAE,IAAI;IAAG,MAAM;IAAK,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GAC3E;IAAE,IAAI;IAAG,MAAM;IAAK,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GAC3E;IAAE,IAAI;IAAG,MAAM;IAAO,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GAC7E,CAAC;;;;;;AAMJ,MAAa,MAAM,IAAI,UAAU"}