weave-python 0.26.1__py3-none-any.whl → 0.27.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- weave/weaveapi/auth/v1/service_pb2.py +228 -0
- weave/weaveapi/auth/v1/service_pb2.pyi +1406 -0
- weave/weaveapi/auth/v1/service_pb2_grpc.py +1091 -0
- weave/weaveapi/auth/v1/service_pb2_grpc.pyi +606 -0
- weave/weaveapi/auth/v1/session_pb2.py +38 -0
- weave/weaveapi/auth/v1/session_pb2.pyi +111 -0
- weave/weaveapi/auth/v1/session_pb2_grpc.py +2 -0
- weave/weaveapi/auth/v1/session_pb2_grpc.pyi +20 -0
- weave/weaveapi/auth/v1/usage_pb2.py +52 -0
- weave/weaveapi/auth/v1/usage_pb2.pyi +241 -0
- weave/weaveapi/auth/v1/usage_pb2_grpc.py +2 -0
- weave/weaveapi/auth/v1/usage_pb2_grpc.pyi +20 -0
- weave/weaveapi/auth/v1/user_pb2.py +52 -0
- weave/weaveapi/auth/v1/user_pb2.pyi +594 -0
- weave/weaveapi/auth/v1/user_pb2_grpc.py +2 -0
- weave/weaveapi/auth/v1/user_pb2_grpc.pyi +20 -0
- weave/weaveapi/generate/v1/configuration_pb2.py +3 -3
- weave/weaveapi/generate/v1/generate_pb2.py +2 -2
- weave/weaveapi/generate/v1/service_pb2.py +2 -2
- weave/weaveapi/mcpregistry/v1/server_pb2.py +2 -2
- weave/weaveapi/mcpregistry/v1/service_pb2.py +3 -3
- weave/weaveapi/modex/v1/model_pb2.py +58 -0
- weave/weaveapi/modex/v1/model_pb2.pyi +642 -0
- weave/weaveapi/modex/v1/model_pb2_grpc.py +2 -0
- weave/weaveapi/modex/v1/model_pb2_grpc.pyi +20 -0
- weave/weaveapi/modex/v1/provider_pb2.py +38 -0
- weave/weaveapi/modex/v1/provider_pb2.pyi +91 -0
- weave/weaveapi/modex/v1/provider_pb2_grpc.py +2 -0
- weave/weaveapi/modex/v1/provider_pb2_grpc.pyi +20 -0
- weave/weaveapi/modex/v1/service_pb2.py +180 -0
- weave/weaveapi/modex/v1/service_pb2.pyi +1641 -0
- weave/weaveapi/modex/v1/service_pb2_grpc.py +602 -0
- weave/weaveapi/modex/v1/service_pb2_grpc.pyi +268 -0
- weave/weaveapi/payment/v1/invoice_pb2.py +46 -0
- weave/weaveapi/payment/v1/invoice_pb2.pyi +349 -0
- weave/weaveapi/payment/v1/invoice_pb2_grpc.py +2 -0
- weave/weaveapi/payment/v1/invoice_pb2_grpc.pyi +20 -0
- weave/weaveapi/payment/v1/service_pb2.py +244 -0
- weave/weaveapi/payment/v1/service_pb2.pyi +1492 -0
- weave/weaveapi/payment/v1/service_pb2_grpc.py +957 -0
- weave/weaveapi/payment/v1/service_pb2_grpc.pyi +572 -0
- weave/weaveapi/payment/v1/subscription_pb2.py +59 -0
- weave/weaveapi/payment/v1/subscription_pb2.pyi +695 -0
- weave/weaveapi/payment/v1/subscription_pb2_grpc.py +2 -0
- weave/weaveapi/payment/v1/subscription_pb2_grpc.pyi +20 -0
- weave/weaveapi/storage/v1/auth_pb2.py +2 -2
- weave/weaveapi/storage/v1/nosql_database_pb2.py +3 -3
- weave/weaveapi/storage/v1/object_store_pb2.py +3 -3
- weave/weaveapi/storage/v1/service_pb2.py +2 -2
- weave/weaveapi/storage/v1/sql_database_pb2.py +3 -3
- weave/weaveapi/storage/v1/storage_pb2.py +2 -2
- weave/weaveapi/synthesize/v1/dataset_pb2.py +2 -2
- weave/weaveapi/synthesize/v1/inline_data_pb2.py +3 -3
- weave/weaveapi/synthesize/v1/relationship_pb2.py +3 -3
- weave/weaveapi/synthesize/v1/service_pb2.py +2 -2
- weave/weaveapi/synthesize/v1/training_pb2.py +3 -3
- weave/weavesql/{db → weavedb}/queries.py +1 -1
- {weave_python-0.26.1.dist-info → weave_python-0.27.0.dist-info}/METADATA +1 -1
- weave_python-0.27.0.dist-info/RECORD +109 -0
- weave_python-0.26.1.dist-info/RECORD +0 -69
- /weave/weavesql/{db → weavedb}/models.py +0 -0
- {weave_python-0.26.1.dist-info → weave_python-0.27.0.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: weaveapi/auth/v1/service.proto
|
|
5
|
+
# Protobuf Python Version: 6.32.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
|
|
8
|
+
from google.protobuf import descriptor as _descriptor
|
|
9
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
10
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
11
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
12
|
+
from google.protobuf.internal import builder as _builder
|
|
13
|
+
|
|
14
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
15
|
+
_runtime_version.Domain.PUBLIC, 6, 32, 0, "", "weaveapi/auth/v1/service.proto"
|
|
16
|
+
)
|
|
17
|
+
# @@protoc_insertion_point(imports)
|
|
18
|
+
|
|
19
|
+
_sym_db = _symbol_database.Default()
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
23
|
+
b'\n\x1eweaveapi/auth/v1/service.proto\x12\x10weaveapi.auth.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1eweaveapi/auth/v1/session.proto\x1a\x1cweaveapi/auth/v1/usage.proto\x1a\x1bweaveapi/auth/v1/user.proto"\xa9\x02\n\x14InitiateOAuthRequest\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\x12!\n\x0credirect_uri\x18\x02 \x01(\tR\x0bredirectUri\x12\x14\n\x05state\x18\x03 \x01(\tR\x05state\x12\x14\n\x05scope\x18\x04 \x01(\tR\x05scope\x12\x63\n\x0fprovider_params\x18\x05 \x03(\x0b\x32:.weaveapi.auth.v1.InitiateOAuthRequest.ProviderParamsEntryR\x0eproviderParams\x1a\x41\n\x13ProviderParamsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01"\x89\x01\n\x15InitiateOAuthResponse\x12\x19\n\x08\x61uth_url\x18\x01 \x01(\tR\x07\x61uthUrl\x12\x14\n\x05state\x18\x02 \x01(\tR\x05state\x12#\n\rcode_verifier\x18\x03 \x01(\tR\x0c\x63odeVerifier\x12\x1a\n\x08provider\x18\x04 \x01(\tR\x08provider"\xca\x01\n\x1aHandleOAuthCallbackRequest\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\x12\x12\n\x04\x63ode\x18\x02 \x01(\tR\x04\x63ode\x12\x14\n\x05state\x18\x03 \x01(\tR\x05state\x12#\n\rcode_verifier\x18\x04 \x01(\tR\x0c\x63odeVerifier\x12\x14\n\x05\x65rror\x18\x05 \x01(\tR\x05\x65rror\x12+\n\x11\x65rror_description\x18\x06 \x01(\tR\x10\x65rrorDescription"\xc3\x02\n\x1bHandleOAuthCallbackResponse\x12!\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\tR\x0b\x61\x63\x63\x65ssToken\x12#\n\rrefresh_token\x18\x02 \x01(\tR\x0crefreshToken\x12\x1d\n\nexpires_in\x18\x03 \x01(\x05R\texpiresIn\x12*\n\x04user\x18\x04 \x01(\x0b\x32\x16.weaveapi.auth.v1.UserR\x04user\x12\x1e\n\x0bis_new_user\x18\x05 \x01(\x08R\tisNewUser\x12!\n\x0credirect_url\x18\x06 \x01(\tR\x0bredirectUrl\x12\'\n\x0flinked_provider\x18\x07 \x01(\tR\x0elinkedProvider\x12%\n\x0e\x61\x63\x63ount_linked\x18\x08 \x01(\x08R\raccountLinked"=\n\x18GetOAuthProvidersRequest\x12!\n\x0c\x65nabled_only\x18\x01 \x01(\x08R\x0b\x65nabledOnly"\x85\x01\n\x19GetOAuthProvidersResponse\x12=\n\tproviders\x18\x01 \x03(\x0b\x32\x1f.weaveapi.auth.v1.OAuthProviderR\tproviders\x12)\n\x10primary_provider\x18\x02 \x01(\tR\x0fprimaryProvider"Y\n\x18LinkOAuthProviderRequest\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\x12!\n\x0credirect_uri\x18\x02 \x01(\tR\x0bredirectUri"L\n\x19LinkOAuthProviderResponse\x12\x19\n\x08\x61uth_url\x18\x01 \x01(\tR\x07\x61uthUrl\x12\x14\n\x05state\x18\x02 \x01(\tR\x05state"8\n\x1aUnlinkOAuthProviderRequest\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider"\x82\x01\n\x1bUnlinkOAuthProviderResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12/\n\x13remaining_providers\x18\x03 \x01(\x05R\x12remainingProviders":\n\x13RefreshTokenRequest\x12#\n\rrefresh_token\x18\x01 \x01(\tR\x0crefreshToken"}\n\x14RefreshTokenResponse\x12!\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\tR\x0b\x61\x63\x63\x65ssToken\x12#\n\rrefresh_token\x18\x02 \x01(\tR\x0crefreshToken\x12\x1d\n\nexpires_in\x18\x03 \x01(\x05R\texpiresIn"9\n\x12RevokeTokenRequest\x12#\n\rrefresh_token\x18\x01 \x01(\tR\x0crefreshToken"I\n\x13RevokeTokenResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message"9\n\x14ValidateTokenRequest\x12!\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\tR\x0b\x61\x63\x63\x65ssToken"\xad\x01\n\x15ValidateTokenResponse\x12\x14\n\x05valid\x18\x01 \x01(\x08R\x05valid\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\x12\x16\n\x06scopes\x18\x03 \x03(\tR\x06scopes\x12\x39\n\nexpires_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAt\x12\x12\n\x04tier\x18\x05 \x01(\tR\x04tier"\x17\n\x15GetCurrentUserRequest"D\n\x16GetCurrentUserResponse\x12*\n\x04user\x18\x01 \x01(\x0b\x32\x16.weaveapi.auth.v1.UserR\x04user"\x8b\x01\n\x11UpdateUserRequest\x12\x1b\n\tfull_name\x18\x01 \x01(\tR\x08\x66ullName\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x43\n\x0bpreferences\x18\x03 \x01(\x0b\x32!.weaveapi.auth.v1.UserPreferencesR\x0bpreferences"@\n\x12UpdateUserResponse\x12*\n\x04user\x18\x01 \x01(\x0b\x32\x16.weaveapi.auth.v1.UserR\x04user"S\n\x11\x44\x65leteUserRequest\x12"\n\x0c\x63onfirmation\x18\x01 \x01(\tR\x0c\x63onfirmation\x12\x1a\n\x08password\x18\x02 \x01(\tR\x08password"\x98\x01\n\x12\x44\x65leteUserResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12N\n\x15scheduled_deletion_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x13scheduledDeletionAt"q\n\x12ListAPIKeysRequest\x12\x1b\n\tpage_size\x18\x01 \x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\x02 \x01(\tR\tpageToken\x12\x1f\n\x0b\x61\x63tive_only\x18\x03 \x01(\x08R\nactiveOnly"\x93\x01\n\x13ListAPIKeysResponse\x12\x33\n\x08\x61pi_keys\x18\x01 \x03(\x0b\x32\x18.weaveapi.auth.v1.APIKeyR\x07\x61piKeys\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1f\n\x0btotal_count\x18\x03 \x01(\x05R\ntotalCount"\xec\x01\n\x13\x43reateAPIKeyRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06scopes\x18\x03 \x03(\tR\x06scopes\x12+\n\x11\x61llowed_endpoints\x18\x04 \x03(\tR\x10\x61llowedEndpoints\x12\x1f\n\x0b\x61llowed_ips\x18\x05 \x03(\tR\nallowedIps\x12\x39\n\nexpires_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAt"\x82\x01\n\x14\x43reateAPIKeyResponse\x12\x31\n\x07\x61pi_key\x18\x01 \x01(\x0b\x32\x18.weaveapi.auth.v1.APIKeyR\x06\x61piKey\x12\x1d\n\nsecret_key\x18\x02 \x01(\tR\tsecretKey\x12\x18\n\x07warning\x18\x03 \x01(\tR\x07warning")\n\x10GetAPIKeyRequest\x12\x15\n\x06key_id\x18\x01 \x01(\tR\x05keyId"F\n\x11GetAPIKeyResponse\x12\x31\n\x07\x61pi_key\x18\x01 \x01(\x0b\x32\x18.weaveapi.auth.v1.APIKeyR\x06\x61piKey"\xcd\x01\n\x13UpdateAPIKeyRequest\x12\x15\n\x06key_id\x18\x01 \x01(\tR\x05keyId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12+\n\x11\x61llowed_endpoints\x18\x04 \x03(\tR\x10\x61llowedEndpoints\x12\x1f\n\x0b\x61llowed_ips\x18\x05 \x03(\tR\nallowedIps\x12\x1b\n\tis_active\x18\x06 \x01(\x08R\x08isActive"I\n\x14UpdateAPIKeyResponse\x12\x31\n\x07\x61pi_key\x18\x01 \x01(\x0b\x32\x18.weaveapi.auth.v1.APIKeyR\x06\x61piKey",\n\x13RevokeAPIKeyRequest\x12\x15\n\x06key_id\x18\x01 \x01(\tR\x05keyId"J\n\x14RevokeAPIKeyResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message"k\n\x15ValidateAPIKeyRequest\x12\x17\n\x07\x61pi_key\x18\x01 \x01(\tR\x06\x61piKey\x12\x1a\n\x08\x65ndpoint\x18\x02 \x01(\tR\x08\x65ndpoint\x12\x1d\n\nip_address\x18\x03 \x01(\tR\tipAddress"\xde\x01\n\x16ValidateAPIKeyResponse\x12\x14\n\x05valid\x18\x01 \x01(\x08R\x05valid\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\x12\x12\n\x04tier\x18\x03 \x01(\tR\x04tier\x12\x16\n\x06scopes\x18\x04 \x03(\tR\x06scopes\x12>\n\nrate_limit\x18\x05 \x01(\x0b\x32\x1f.weaveapi.auth.v1.RateLimitInfoR\trateLimit\x12)\n\x10rejection_reason\x18\x06 \x01(\tR\x0frejectionReason"L\n\x14GetUsageStatsRequest\x12\x16\n\x06period\x18\x01 \x01(\tR\x06period\x12\x1c\n\napi_key_id\x18\x02 \x01(\tR\x08\x61piKeyId"\xd1\x01\n\x15GetUsageStatsResponse\x12\x43\n\x0e\x63urrent_period\x18\x01 \x01(\x0b\x32\x1c.weaveapi.auth.v1.UsageStatsR\rcurrentPeriod\x12<\n\nhistorical\x18\x02 \x03(\x0b\x32\x1c.weaveapi.auth.v1.UsageStatsR\nhistorical\x12\x35\n\x06limits\x18\x03 \x01(\x0b\x32\x1d.weaveapi.auth.v1.UsageLimitsR\x06limits"9\n\x19GetRateLimitStatusRequest\x12\x1c\n\napi_key_id\x18\x01 \x01(\tR\x08\x61piKeyId"\x99\x01\n\x1aGetRateLimitStatusResponse\x12\x39\n\x07\x63urrent\x18\x01 \x01(\x0b\x32\x1f.weaveapi.auth.v1.RateLimitInfoR\x07\x63urrent\x12@\n\x0b\x62y_endpoint\x18\x02 \x03(\x0b\x32\x1f.weaveapi.auth.v1.RateLimitInfoR\nbyEndpoint"\xc5\x01\n\rRateLimitInfo\x12\x12\n\x04tier\x18\x01 \x01(\tR\x04tier\x12\x16\n\x06window\x18\x02 \x01(\tR\x06window\x12\x14\n\x05limit\x18\x03 \x01(\x05R\x05limit\x12\x1c\n\tremaining\x18\x04 \x01(\x05R\tremaining\x12\x35\n\x08reset_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x07resetAt\x12\x1d\n\nis_limited\x18\x06 \x01(\x08R\tisLimited"Q\n\x13ListSessionsRequest\x12\x1b\n\tpage_size\x18\x01 \x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\x02 \x01(\tR\tpageToken"\xc4\x01\n\x14ListSessionsResponse\x12\x35\n\x08sessions\x18\x01 \x03(\x0b\x32\x19.weaveapi.auth.v1.SessionR\x08sessions\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1f\n\x0btotal_count\x18\x03 \x01(\x05R\ntotalCount\x12,\n\x12\x63urrent_session_id\x18\x04 \x01(\tR\x10\x63urrentSessionId"5\n\x14RevokeSessionRequest\x12\x1d\n\nsession_id\x18\x01 \x01(\tR\tsessionId"K\n\x15RevokeSessionResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message"=\n\x18RevokeAllSessionsRequest\x12!\n\x0ckeep_current\x18\x01 \x01(\x08R\x0bkeepCurrent"Z\n\x19RevokeAllSessionsResponse\x12#\n\rrevoked_count\x18\x01 \x01(\x05R\x0crevokedCount\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message2\x8c\x17\n\x04\x41uth\x12\x80\x01\n\rInitiateOAuth\x12&.weaveapi.auth.v1.InitiateOAuthRequest\x1a\'.weaveapi.auth.v1.InitiateOAuthResponse"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/auth/oauth/{provider}\x12\x9b\x01\n\x13HandleOAuthCallback\x12,.weaveapi.auth.v1.HandleOAuthCallbackRequest\x1a-.weaveapi.auth.v1.HandleOAuthCallbackResponse"\'\x82\xd3\xe4\x93\x02!\x12\x1f/auth/oauth/{provider}/callback\x12\x85\x01\n\x11GetOAuthProviders\x12*.weaveapi.auth.v1.GetOAuthProvidersRequest\x1a+.weaveapi.auth.v1.GetOAuthProvidersResponse"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/auth/providers\x12\x8f\x01\n\x11LinkOAuthProvider\x12*.weaveapi.auth.v1.LinkOAuthProviderRequest\x1a+.weaveapi.auth.v1.LinkOAuthProviderResponse"!\x82\xd3\xe4\x93\x02\x1b"\x16/api/v1/user/auth/link:\x01*\x12\x98\x01\n\x13UnlinkOAuthProvider\x12,.weaveapi.auth.v1.UnlinkOAuthProviderRequest\x1a-.weaveapi.auth.v1.UnlinkOAuthProviderResponse"$\x82\xd3\xe4\x93\x02\x1e*\x1c/api/v1/user/auth/{provider}\x12w\n\x0cRefreshToken\x12%.weaveapi.auth.v1.RefreshTokenRequest\x1a&.weaveapi.auth.v1.RefreshTokenResponse"\x18\x82\xd3\xe4\x93\x02\x12"\r/auth/refresh:\x01*\x12s\n\x0bRevokeToken\x12$.weaveapi.auth.v1.RevokeTokenRequest\x1a%.weaveapi.auth.v1.RevokeTokenResponse"\x17\x82\xd3\xe4\x93\x02\x11"\x0c/auth/revoke:\x01*\x12{\n\rValidateToken\x12&.weaveapi.auth.v1.ValidateTokenRequest\x1a\'.weaveapi.auth.v1.ValidateTokenResponse"\x19\x82\xd3\xe4\x93\x02\x13"\x0e/auth/validate:\x01*\x12\x81\x01\n\x0eGetCurrentUser\x12\'.weaveapi.auth.v1.GetCurrentUserRequest\x1a(.weaveapi.auth.v1.GetCurrentUserResponse"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/api/v1/user/profile\x12x\n\nUpdateUser\x12#.weaveapi.auth.v1.UpdateUserRequest\x1a$.weaveapi.auth.v1.UpdateUserResponse"\x1f\x82\xd3\xe4\x93\x02\x19\x32\x14/api/v1/user/profile:\x01*\x12u\n\nDeleteUser\x12#.weaveapi.auth.v1.DeleteUserRequest\x1a$.weaveapi.auth.v1.DeleteUserResponse"\x1c\x82\xd3\xe4\x93\x02\x16*\x14/api/v1/user/profile\x12y\n\x0bListAPIKeys\x12$.weaveapi.auth.v1.ListAPIKeysRequest\x1a%.weaveapi.auth.v1.ListAPIKeysResponse"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/api/v1/user/api-keys\x12\x7f\n\x0c\x43reateAPIKey\x12%.weaveapi.auth.v1.CreateAPIKeyRequest\x1a&.weaveapi.auth.v1.CreateAPIKeyResponse" \x82\xd3\xe4\x93\x02\x1a"\x15/api/v1/user/api-keys:\x01*\x12|\n\tGetAPIKey\x12".weaveapi.auth.v1.GetAPIKeyRequest\x1a#.weaveapi.auth.v1.GetAPIKeyResponse"&\x82\xd3\xe4\x93\x02 \x12\x1e/api/v1/user/api-keys/{key_id}\x12\x88\x01\n\x0cUpdateAPIKey\x12%.weaveapi.auth.v1.UpdateAPIKeyRequest\x1a&.weaveapi.auth.v1.UpdateAPIKeyResponse")\x82\xd3\xe4\x93\x02#2\x1e/api/v1/user/api-keys/{key_id}:\x01*\x12\x85\x01\n\x0cRevokeAPIKey\x12%.weaveapi.auth.v1.RevokeAPIKeyRequest\x1a&.weaveapi.auth.v1.RevokeAPIKeyResponse"&\x82\xd3\xe4\x93\x02 *\x1e/api/v1/user/api-keys/{key_id}\x12\x86\x01\n\x0eValidateAPIKey\x12\'.weaveapi.auth.v1.ValidateAPIKeyRequest\x1a(.weaveapi.auth.v1.ValidateAPIKeyResponse"!\x82\xd3\xe4\x93\x02\x1b"\x16/auth/api-key/validate:\x01*\x12|\n\rGetUsageStats\x12&.weaveapi.auth.v1.GetUsageStatsRequest\x1a\'.weaveapi.auth.v1.GetUsageStatsResponse"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/api/v1/user/usage\x12\x90\x01\n\x12GetRateLimitStatus\x12+.weaveapi.auth.v1.GetRateLimitStatusRequest\x1a,.weaveapi.auth.v1.GetRateLimitStatusResponse"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/api/v1/user/rate-limit\x12|\n\x0cListSessions\x12%.weaveapi.auth.v1.ListSessionsRequest\x1a&.weaveapi.auth.v1.ListSessionsResponse"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/api/v1/user/sessions\x12\x8c\x01\n\rRevokeSession\x12&.weaveapi.auth.v1.RevokeSessionRequest\x1a\'.weaveapi.auth.v1.RevokeSessionResponse"*\x82\xd3\xe4\x93\x02$*"/api/v1/user/sessions/{session_id}\x12\x99\x01\n\x11RevokeAllSessions\x12*.weaveapi.auth.v1.RevokeAllSessionsRequest\x1a+.weaveapi.auth.v1.RevokeAllSessionsResponse"+\x82\xd3\xe4\x93\x02%" /api/v1/user/sessions/revoke-all:\x01*B\xbc\x01\n\x14\x63om.weaveapi.auth.v1B\x0cServiceProtoP\x01Z4github.com/weave-labs/weave-go/weaveapi/auth/v1;auth\xa2\x02\x03WAX\xaa\x02\x10Weaveapi.Auth.V1\xca\x02\x10Weaveapi\\Auth\\V1\xe2\x02\x1cWeaveapi\\Auth\\V1\\GPBMetadata\xea\x02\x12Weaveapi::Auth::V1b\x06proto3'
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
_globals = globals()
|
|
27
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
28
|
+
_builder.BuildTopDescriptorsAndMessages(
|
|
29
|
+
DESCRIPTOR, "weaveapi.auth.v1.service_pb2", _globals
|
|
30
|
+
)
|
|
31
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
32
|
+
_globals["DESCRIPTOR"]._loaded_options = None
|
|
33
|
+
_globals[
|
|
34
|
+
"DESCRIPTOR"
|
|
35
|
+
]._serialized_options = b"\n\024com.weaveapi.auth.v1B\014ServiceProtoP\001Z4github.com/weave-labs/weave-go/weaveapi/auth/v1;auth\242\002\003WAX\252\002\020Weaveapi.Auth.V1\312\002\020Weaveapi\\Auth\\V1\342\002\034Weaveapi\\Auth\\V1\\GPBMetadata\352\002\022Weaveapi::Auth::V1"
|
|
36
|
+
_globals["_INITIATEOAUTHREQUEST_PROVIDERPARAMSENTRY"]._loaded_options = None
|
|
37
|
+
_globals["_INITIATEOAUTHREQUEST_PROVIDERPARAMSENTRY"]._serialized_options = b"8\001"
|
|
38
|
+
_globals["_AUTH"].methods_by_name["InitiateOAuth"]._loaded_options = None
|
|
39
|
+
_globals["_AUTH"].methods_by_name[
|
|
40
|
+
"InitiateOAuth"
|
|
41
|
+
]._serialized_options = b"\202\323\344\223\002\030\022\026/auth/oauth/{provider}"
|
|
42
|
+
_globals["_AUTH"].methods_by_name["HandleOAuthCallback"]._loaded_options = None
|
|
43
|
+
_globals["_AUTH"].methods_by_name[
|
|
44
|
+
"HandleOAuthCallback"
|
|
45
|
+
]._serialized_options = (
|
|
46
|
+
b"\202\323\344\223\002!\022\037/auth/oauth/{provider}/callback"
|
|
47
|
+
)
|
|
48
|
+
_globals["_AUTH"].methods_by_name["GetOAuthProviders"]._loaded_options = None
|
|
49
|
+
_globals["_AUTH"].methods_by_name[
|
|
50
|
+
"GetOAuthProviders"
|
|
51
|
+
]._serialized_options = b"\202\323\344\223\002\021\022\017/auth/providers"
|
|
52
|
+
_globals["_AUTH"].methods_by_name["LinkOAuthProvider"]._loaded_options = None
|
|
53
|
+
_globals["_AUTH"].methods_by_name[
|
|
54
|
+
"LinkOAuthProvider"
|
|
55
|
+
]._serialized_options = b'\202\323\344\223\002\033"\026/api/v1/user/auth/link:\001*'
|
|
56
|
+
_globals["_AUTH"].methods_by_name["UnlinkOAuthProvider"]._loaded_options = None
|
|
57
|
+
_globals["_AUTH"].methods_by_name[
|
|
58
|
+
"UnlinkOAuthProvider"
|
|
59
|
+
]._serialized_options = b"\202\323\344\223\002\036*\034/api/v1/user/auth/{provider}"
|
|
60
|
+
_globals["_AUTH"].methods_by_name["RefreshToken"]._loaded_options = None
|
|
61
|
+
_globals["_AUTH"].methods_by_name[
|
|
62
|
+
"RefreshToken"
|
|
63
|
+
]._serialized_options = b'\202\323\344\223\002\022"\r/auth/refresh:\001*'
|
|
64
|
+
_globals["_AUTH"].methods_by_name["RevokeToken"]._loaded_options = None
|
|
65
|
+
_globals["_AUTH"].methods_by_name[
|
|
66
|
+
"RevokeToken"
|
|
67
|
+
]._serialized_options = b'\202\323\344\223\002\021"\014/auth/revoke:\001*'
|
|
68
|
+
_globals["_AUTH"].methods_by_name["ValidateToken"]._loaded_options = None
|
|
69
|
+
_globals["_AUTH"].methods_by_name[
|
|
70
|
+
"ValidateToken"
|
|
71
|
+
]._serialized_options = b'\202\323\344\223\002\023"\016/auth/validate:\001*'
|
|
72
|
+
_globals["_AUTH"].methods_by_name["GetCurrentUser"]._loaded_options = None
|
|
73
|
+
_globals["_AUTH"].methods_by_name[
|
|
74
|
+
"GetCurrentUser"
|
|
75
|
+
]._serialized_options = b"\202\323\344\223\002\026\022\024/api/v1/user/profile"
|
|
76
|
+
_globals["_AUTH"].methods_by_name["UpdateUser"]._loaded_options = None
|
|
77
|
+
_globals["_AUTH"].methods_by_name[
|
|
78
|
+
"UpdateUser"
|
|
79
|
+
]._serialized_options = b"\202\323\344\223\002\0312\024/api/v1/user/profile:\001*"
|
|
80
|
+
_globals["_AUTH"].methods_by_name["DeleteUser"]._loaded_options = None
|
|
81
|
+
_globals["_AUTH"].methods_by_name[
|
|
82
|
+
"DeleteUser"
|
|
83
|
+
]._serialized_options = b"\202\323\344\223\002\026*\024/api/v1/user/profile"
|
|
84
|
+
_globals["_AUTH"].methods_by_name["ListAPIKeys"]._loaded_options = None
|
|
85
|
+
_globals["_AUTH"].methods_by_name[
|
|
86
|
+
"ListAPIKeys"
|
|
87
|
+
]._serialized_options = b"\202\323\344\223\002\027\022\025/api/v1/user/api-keys"
|
|
88
|
+
_globals["_AUTH"].methods_by_name["CreateAPIKey"]._loaded_options = None
|
|
89
|
+
_globals["_AUTH"].methods_by_name[
|
|
90
|
+
"CreateAPIKey"
|
|
91
|
+
]._serialized_options = b'\202\323\344\223\002\032"\025/api/v1/user/api-keys:\001*'
|
|
92
|
+
_globals["_AUTH"].methods_by_name["GetAPIKey"]._loaded_options = None
|
|
93
|
+
_globals["_AUTH"].methods_by_name[
|
|
94
|
+
"GetAPIKey"
|
|
95
|
+
]._serialized_options = (
|
|
96
|
+
b"\202\323\344\223\002 \022\036/api/v1/user/api-keys/{key_id}"
|
|
97
|
+
)
|
|
98
|
+
_globals["_AUTH"].methods_by_name["UpdateAPIKey"]._loaded_options = None
|
|
99
|
+
_globals["_AUTH"].methods_by_name[
|
|
100
|
+
"UpdateAPIKey"
|
|
101
|
+
]._serialized_options = (
|
|
102
|
+
b"\202\323\344\223\002#2\036/api/v1/user/api-keys/{key_id}:\001*"
|
|
103
|
+
)
|
|
104
|
+
_globals["_AUTH"].methods_by_name["RevokeAPIKey"]._loaded_options = None
|
|
105
|
+
_globals["_AUTH"].methods_by_name[
|
|
106
|
+
"RevokeAPIKey"
|
|
107
|
+
]._serialized_options = b"\202\323\344\223\002 *\036/api/v1/user/api-keys/{key_id}"
|
|
108
|
+
_globals["_AUTH"].methods_by_name["ValidateAPIKey"]._loaded_options = None
|
|
109
|
+
_globals["_AUTH"].methods_by_name[
|
|
110
|
+
"ValidateAPIKey"
|
|
111
|
+
]._serialized_options = b'\202\323\344\223\002\033"\026/auth/api-key/validate:\001*'
|
|
112
|
+
_globals["_AUTH"].methods_by_name["GetUsageStats"]._loaded_options = None
|
|
113
|
+
_globals["_AUTH"].methods_by_name[
|
|
114
|
+
"GetUsageStats"
|
|
115
|
+
]._serialized_options = b"\202\323\344\223\002\024\022\022/api/v1/user/usage"
|
|
116
|
+
_globals["_AUTH"].methods_by_name["GetRateLimitStatus"]._loaded_options = None
|
|
117
|
+
_globals["_AUTH"].methods_by_name[
|
|
118
|
+
"GetRateLimitStatus"
|
|
119
|
+
]._serialized_options = b"\202\323\344\223\002\031\022\027/api/v1/user/rate-limit"
|
|
120
|
+
_globals["_AUTH"].methods_by_name["ListSessions"]._loaded_options = None
|
|
121
|
+
_globals["_AUTH"].methods_by_name[
|
|
122
|
+
"ListSessions"
|
|
123
|
+
]._serialized_options = b"\202\323\344\223\002\027\022\025/api/v1/user/sessions"
|
|
124
|
+
_globals["_AUTH"].methods_by_name["RevokeSession"]._loaded_options = None
|
|
125
|
+
_globals["_AUTH"].methods_by_name[
|
|
126
|
+
"RevokeSession"
|
|
127
|
+
]._serialized_options = b'\202\323\344\223\002$*"/api/v1/user/sessions/{session_id}'
|
|
128
|
+
_globals["_AUTH"].methods_by_name["RevokeAllSessions"]._loaded_options = None
|
|
129
|
+
_globals["_AUTH"].methods_by_name[
|
|
130
|
+
"RevokeAllSessions"
|
|
131
|
+
]._serialized_options = (
|
|
132
|
+
b'\202\323\344\223\002%" /api/v1/user/sessions/revoke-all:\001*'
|
|
133
|
+
)
|
|
134
|
+
_globals["_INITIATEOAUTHREQUEST"]._serialized_start = 207
|
|
135
|
+
_globals["_INITIATEOAUTHREQUEST"]._serialized_end = 504
|
|
136
|
+
_globals["_INITIATEOAUTHREQUEST_PROVIDERPARAMSENTRY"]._serialized_start = 439
|
|
137
|
+
_globals["_INITIATEOAUTHREQUEST_PROVIDERPARAMSENTRY"]._serialized_end = 504
|
|
138
|
+
_globals["_INITIATEOAUTHRESPONSE"]._serialized_start = 507
|
|
139
|
+
_globals["_INITIATEOAUTHRESPONSE"]._serialized_end = 644
|
|
140
|
+
_globals["_HANDLEOAUTHCALLBACKREQUEST"]._serialized_start = 647
|
|
141
|
+
_globals["_HANDLEOAUTHCALLBACKREQUEST"]._serialized_end = 849
|
|
142
|
+
_globals["_HANDLEOAUTHCALLBACKRESPONSE"]._serialized_start = 852
|
|
143
|
+
_globals["_HANDLEOAUTHCALLBACKRESPONSE"]._serialized_end = 1175
|
|
144
|
+
_globals["_GETOAUTHPROVIDERSREQUEST"]._serialized_start = 1177
|
|
145
|
+
_globals["_GETOAUTHPROVIDERSREQUEST"]._serialized_end = 1238
|
|
146
|
+
_globals["_GETOAUTHPROVIDERSRESPONSE"]._serialized_start = 1241
|
|
147
|
+
_globals["_GETOAUTHPROVIDERSRESPONSE"]._serialized_end = 1374
|
|
148
|
+
_globals["_LINKOAUTHPROVIDERREQUEST"]._serialized_start = 1376
|
|
149
|
+
_globals["_LINKOAUTHPROVIDERREQUEST"]._serialized_end = 1465
|
|
150
|
+
_globals["_LINKOAUTHPROVIDERRESPONSE"]._serialized_start = 1467
|
|
151
|
+
_globals["_LINKOAUTHPROVIDERRESPONSE"]._serialized_end = 1543
|
|
152
|
+
_globals["_UNLINKOAUTHPROVIDERREQUEST"]._serialized_start = 1545
|
|
153
|
+
_globals["_UNLINKOAUTHPROVIDERREQUEST"]._serialized_end = 1601
|
|
154
|
+
_globals["_UNLINKOAUTHPROVIDERRESPONSE"]._serialized_start = 1604
|
|
155
|
+
_globals["_UNLINKOAUTHPROVIDERRESPONSE"]._serialized_end = 1734
|
|
156
|
+
_globals["_REFRESHTOKENREQUEST"]._serialized_start = 1736
|
|
157
|
+
_globals["_REFRESHTOKENREQUEST"]._serialized_end = 1794
|
|
158
|
+
_globals["_REFRESHTOKENRESPONSE"]._serialized_start = 1796
|
|
159
|
+
_globals["_REFRESHTOKENRESPONSE"]._serialized_end = 1921
|
|
160
|
+
_globals["_REVOKETOKENREQUEST"]._serialized_start = 1923
|
|
161
|
+
_globals["_REVOKETOKENREQUEST"]._serialized_end = 1980
|
|
162
|
+
_globals["_REVOKETOKENRESPONSE"]._serialized_start = 1982
|
|
163
|
+
_globals["_REVOKETOKENRESPONSE"]._serialized_end = 2055
|
|
164
|
+
_globals["_VALIDATETOKENREQUEST"]._serialized_start = 2057
|
|
165
|
+
_globals["_VALIDATETOKENREQUEST"]._serialized_end = 2114
|
|
166
|
+
_globals["_VALIDATETOKENRESPONSE"]._serialized_start = 2117
|
|
167
|
+
_globals["_VALIDATETOKENRESPONSE"]._serialized_end = 2290
|
|
168
|
+
_globals["_GETCURRENTUSERREQUEST"]._serialized_start = 2292
|
|
169
|
+
_globals["_GETCURRENTUSERREQUEST"]._serialized_end = 2315
|
|
170
|
+
_globals["_GETCURRENTUSERRESPONSE"]._serialized_start = 2317
|
|
171
|
+
_globals["_GETCURRENTUSERRESPONSE"]._serialized_end = 2385
|
|
172
|
+
_globals["_UPDATEUSERREQUEST"]._serialized_start = 2388
|
|
173
|
+
_globals["_UPDATEUSERREQUEST"]._serialized_end = 2527
|
|
174
|
+
_globals["_UPDATEUSERRESPONSE"]._serialized_start = 2529
|
|
175
|
+
_globals["_UPDATEUSERRESPONSE"]._serialized_end = 2593
|
|
176
|
+
_globals["_DELETEUSERREQUEST"]._serialized_start = 2595
|
|
177
|
+
_globals["_DELETEUSERREQUEST"]._serialized_end = 2678
|
|
178
|
+
_globals["_DELETEUSERRESPONSE"]._serialized_start = 2681
|
|
179
|
+
_globals["_DELETEUSERRESPONSE"]._serialized_end = 2833
|
|
180
|
+
_globals["_LISTAPIKEYSREQUEST"]._serialized_start = 2835
|
|
181
|
+
_globals["_LISTAPIKEYSREQUEST"]._serialized_end = 2948
|
|
182
|
+
_globals["_LISTAPIKEYSRESPONSE"]._serialized_start = 2951
|
|
183
|
+
_globals["_LISTAPIKEYSRESPONSE"]._serialized_end = 3098
|
|
184
|
+
_globals["_CREATEAPIKEYREQUEST"]._serialized_start = 3101
|
|
185
|
+
_globals["_CREATEAPIKEYREQUEST"]._serialized_end = 3337
|
|
186
|
+
_globals["_CREATEAPIKEYRESPONSE"]._serialized_start = 3340
|
|
187
|
+
_globals["_CREATEAPIKEYRESPONSE"]._serialized_end = 3470
|
|
188
|
+
_globals["_GETAPIKEYREQUEST"]._serialized_start = 3472
|
|
189
|
+
_globals["_GETAPIKEYREQUEST"]._serialized_end = 3513
|
|
190
|
+
_globals["_GETAPIKEYRESPONSE"]._serialized_start = 3515
|
|
191
|
+
_globals["_GETAPIKEYRESPONSE"]._serialized_end = 3585
|
|
192
|
+
_globals["_UPDATEAPIKEYREQUEST"]._serialized_start = 3588
|
|
193
|
+
_globals["_UPDATEAPIKEYREQUEST"]._serialized_end = 3793
|
|
194
|
+
_globals["_UPDATEAPIKEYRESPONSE"]._serialized_start = 3795
|
|
195
|
+
_globals["_UPDATEAPIKEYRESPONSE"]._serialized_end = 3868
|
|
196
|
+
_globals["_REVOKEAPIKEYREQUEST"]._serialized_start = 3870
|
|
197
|
+
_globals["_REVOKEAPIKEYREQUEST"]._serialized_end = 3914
|
|
198
|
+
_globals["_REVOKEAPIKEYRESPONSE"]._serialized_start = 3916
|
|
199
|
+
_globals["_REVOKEAPIKEYRESPONSE"]._serialized_end = 3990
|
|
200
|
+
_globals["_VALIDATEAPIKEYREQUEST"]._serialized_start = 3992
|
|
201
|
+
_globals["_VALIDATEAPIKEYREQUEST"]._serialized_end = 4099
|
|
202
|
+
_globals["_VALIDATEAPIKEYRESPONSE"]._serialized_start = 4102
|
|
203
|
+
_globals["_VALIDATEAPIKEYRESPONSE"]._serialized_end = 4324
|
|
204
|
+
_globals["_GETUSAGESTATSREQUEST"]._serialized_start = 4326
|
|
205
|
+
_globals["_GETUSAGESTATSREQUEST"]._serialized_end = 4402
|
|
206
|
+
_globals["_GETUSAGESTATSRESPONSE"]._serialized_start = 4405
|
|
207
|
+
_globals["_GETUSAGESTATSRESPONSE"]._serialized_end = 4614
|
|
208
|
+
_globals["_GETRATELIMITSTATUSREQUEST"]._serialized_start = 4616
|
|
209
|
+
_globals["_GETRATELIMITSTATUSREQUEST"]._serialized_end = 4673
|
|
210
|
+
_globals["_GETRATELIMITSTATUSRESPONSE"]._serialized_start = 4676
|
|
211
|
+
_globals["_GETRATELIMITSTATUSRESPONSE"]._serialized_end = 4829
|
|
212
|
+
_globals["_RATELIMITINFO"]._serialized_start = 4832
|
|
213
|
+
_globals["_RATELIMITINFO"]._serialized_end = 5029
|
|
214
|
+
_globals["_LISTSESSIONSREQUEST"]._serialized_start = 5031
|
|
215
|
+
_globals["_LISTSESSIONSREQUEST"]._serialized_end = 5112
|
|
216
|
+
_globals["_LISTSESSIONSRESPONSE"]._serialized_start = 5115
|
|
217
|
+
_globals["_LISTSESSIONSRESPONSE"]._serialized_end = 5311
|
|
218
|
+
_globals["_REVOKESESSIONREQUEST"]._serialized_start = 5313
|
|
219
|
+
_globals["_REVOKESESSIONREQUEST"]._serialized_end = 5366
|
|
220
|
+
_globals["_REVOKESESSIONRESPONSE"]._serialized_start = 5368
|
|
221
|
+
_globals["_REVOKESESSIONRESPONSE"]._serialized_end = 5443
|
|
222
|
+
_globals["_REVOKEALLSESSIONSREQUEST"]._serialized_start = 5445
|
|
223
|
+
_globals["_REVOKEALLSESSIONSREQUEST"]._serialized_end = 5506
|
|
224
|
+
_globals["_REVOKEALLSESSIONSRESPONSE"]._serialized_start = 5508
|
|
225
|
+
_globals["_REVOKEALLSESSIONSRESPONSE"]._serialized_end = 5598
|
|
226
|
+
_globals["_AUTH"]._serialized_start = 5601
|
|
227
|
+
_globals["_AUTH"]._serialized_end = 8557
|
|
228
|
+
# @@protoc_insertion_point(module_scope)
|