deephaven_enterprise.proto.auth_pb2¶
Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending
Module Contents¶
- class AuthError(*, callStatus=..., message=...)[source]¶
Bases:
google.protobuf.message.MessageEnough information to propagate the basics of an AuthException from the server to the client by sending this message in Metadata.
- Parameters:
callStatus (Global___CallStatus)
message (str)
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- callStatus: Global___CallStatus[source]¶
- class AuthenticateByCookieRequest(*, client_id=..., user_context=..., cookie=...)[source]¶
Bases:
google.protobuf.message.MessageRequest argument for authenticateByCookieRequest rpc. See the service definition file for details on the rpc request.
- Parameters:
client_id (Global___ClientId | None)
user_context (Global___UserContext | None)
cookie (bytes)
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- HasField(field_name)[source]¶
Checks if a certain field is set for the message.
For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor,
ValueErrorwill be raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Returns:
Whether a value has been set for the named field.
- Return type:
- Raises:
ValueError – if the field_name is not a member of this message.
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- property client_id: Global___ClientId[source]¶
the new client id for the client making the request.
- Return type:
- property user_context: Global___UserContext[source]¶
the credentials desired, which should match the cookie.
- Return type:
- class AuthenticateByCookieResponse(*, result=...)[source]¶
Bases:
google.protobuf.message.MessageRequest response for replaceClient rpc. See the service definition file for details on the rpc request.
- Parameters:
result (Global___AuthenticationResult | None)
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- HasField(field_name)[source]¶
Checks if a certain field is set for the message.
For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor,
ValueErrorwill be raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Returns:
Whether a value has been set for the named field.
- Return type:
- Raises:
ValueError – if the field_name is not a member of this message.
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- property result: Global___AuthenticationResult[source]¶
- Return type:
- class AuthenticateByDelegateTokenRequest(*, client_id=..., delegate_token=...)[source]¶
Bases:
google.protobuf.message.MessageRequest argument for authenticateByDelegateToken rpc. See the service definition file for details on the rpc request.
- Parameters:
client_id (Global___ClientId | None)
delegate_token (Global___Token | None)
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- HasField(field_name)[source]¶
Checks if a certain field is set for the message.
For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor,
ValueErrorwill be raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Returns:
Whether a value has been set for the named field.
- Return type:
- Raises:
ValueError – if the field_name is not a member of this message.
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- property client_id: Global___ClientId[source]¶
- Return type:
- property delegate_token: Global___Token[source]¶
- Return type:
- class AuthenticateByDelegateTokenResponse(*, result=...)[source]¶
Bases:
google.protobuf.message.MessageRequest response for authenticateByDelegateToken rpc. See the service definition file for details on the rpc request.
- Parameters:
result (Global___AuthenticationResult | None)
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- HasField(field_name)[source]¶
Checks if a certain field is set for the message.
For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor,
ValueErrorwill be raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Returns:
Whether a value has been set for the named field.
- Return type:
- Raises:
ValueError – if the field_name is not a member of this message.
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- property result: Global___AuthenticationResult[source]¶
- Return type:
- class AuthenticateByExternalRequest(*, client_id=..., key=..., do_not_forward=...)[source]¶
Bases:
google.protobuf.message.MessageRequest argument for authenticateByExternal rpc. See the service definition file for details on the rpc request.
- Parameters:
client_id (Global___ClientId | None)
key (str)
do_not_forward (bool)
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- HasField(field_name)[source]¶
Checks if a certain field is set for the message.
For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor,
ValueErrorwill be raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Returns:
Whether a value has been set for the named field.
- Return type:
- Raises:
ValueError – if the field_name is not a member of this message.
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- property client_id: Global___ClientId[source]¶
the client id for the client making the request.
- Return type:
- class AuthenticateByExternalResponse(*, result=...)[source]¶
Bases:
google.protobuf.message.MessageRequest response for authenticateByExternal rpc. See the service definition file for details on the rpc request.
- Parameters:
result (Global___AuthenticationResult | None)
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- HasField(field_name)[source]¶
Checks if a certain field is set for the message.
For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor,
ValueErrorwill be raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Returns:
Whether a value has been set for the named field.
- Return type:
- Raises:
ValueError – if the field_name is not a member of this message.
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- property result: Global___AuthenticationResult[source]¶
- Return type:
- class AuthenticateByPasswordRequest(*, client_id=..., user_context=..., password=...)[source]¶
Bases:
google.protobuf.message.MessageRequest argument for authenticateByPassword prc. See the service definition file for details on the rpc request.
- Parameters:
client_id (Global___ClientId | None)
user_context (Global___UserContext | None)
password (str)
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- HasField(field_name)[source]¶
Checks if a certain field is set for the message.
For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor,
ValueErrorwill be raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Returns:
Whether a value has been set for the named field.
- Return type:
- Raises:
ValueError – if the field_name is not a member of this message.
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- property client_id: Global___ClientId[source]¶
the client id for the client making the request.
- Return type:
- property user_context: Global___UserContext[source]¶
the credentials desired.
- Return type:
- class AuthenticateByPasswordResponse(*, result=...)[source]¶
Bases:
google.protobuf.message.MessageRequest response for authenticateByPassword rpc. See the service definition file for details on the rpc request.
- Parameters:
result (Global___AuthenticationResult | None)
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- HasField(field_name)[source]¶
Checks if a certain field is set for the message.
For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor,
ValueErrorwill be raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Returns:
Whether a value has been set for the named field.
- Return type:
- Raises:
ValueError – if the field_name is not a member of this message.
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- property result: Global___AuthenticationResult[source]¶
- Return type:
- class AuthenticateByPublicKeyRequest(*, client_id=..., user_context=..., public_key=..., challenge_response=..., ip_address=...)[source]¶
Bases:
google.protobuf.message.MessageRequest argument for authenticateByPublicKey rpc. See the service definition file for details on the rpc request.
- Parameters:
client_id (Global___ClientId | None)
user_context (Global___UserContext | None)
public_key (bytes)
challenge_response (bytes)
ip_address (bytes)
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- HasField(field_name)[source]¶
Checks if a certain field is set for the message.
For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor,
ValueErrorwill be raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Returns:
Whether a value has been set for the named field.
- Return type:
- Raises:
ValueError – if the field_name is not a member of this message.
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- challenge_response: bytes[source]¶
The nonce challenge response, which should have been obtained from processing the result of an earlier getNonce rpc request by the client.
- property client_id: Global___ClientId[source]¶
the client id for the client making the request.
- Return type:
- property user_context: Global___UserContext[source]¶
the credentials desired.
- Return type:
- class AuthenticateByPublicKeyResponse(*, result=...)[source]¶
Bases:
google.protobuf.message.MessageRequest response for authenticateByPublicKey rpc. See the service definition file for details on the rpc request.
- Parameters:
result (Global___AuthenticationResult | None)
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- HasField(field_name)[source]¶
Checks if a certain field is set for the message.
For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor,
ValueErrorwill be raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Returns:
Whether a value has been set for the named field.
- Return type:
- Raises:
ValueError – if the field_name is not a member of this message.
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- property result: Global___AuthenticationResult[source]¶
- Return type:
- class AuthenticationResult(*, authenticated=..., cookie=..., cookie_deadline_time_millis=..., userContext=...)[source]¶
Bases:
google.protobuf.message.MessageServers respond to Authenticate* requests with an opaque cookie for the (client_id, user, effectiveUser) combination granted in the request. clients remember and use the same cookie in subsequent RPCs to the server that intend to use those credentials. This cookie should be refreshed prior to the deadline, which is represented as milliseconds since epoch. Clients are encouraged to refresh considerably in advance of the deadline, as to be able to continue operating under network delays. The expected pattern is for clients to refresh half-way throught their available period from the last refresh to the deadline.
- Parameters:
authenticated (bool)
cookie (bytes)
cookie_deadline_time_millis (int)
userContext (Global___UserContext | None)
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- HasField(field_name)[source]¶
Checks if a certain field is set for the message.
For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor,
ValueErrorwill be raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Returns:
Whether a value has been set for the named field.
- Return type:
- Raises:
ValueError – if the field_name is not a member of this message.
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- cookie: bytes[source]¶
the cookie that the client should remember and refresh before its deadline to remain authenticated.
- cookie_deadline_time_millis: int[source]¶
the absolute time in milliseconds from the epoch when the cookie will expire.
- property userContext: Global___UserContext[source]¶
the user context actually authenticated; if there was one in the request should match it.
- Return type:
- class CallStatus[source]¶
Bases:
_CallStatusMap directly to classes derived from AuthException. If you modify this enum, ensure to keep consistent the mappings to/from it in GrpcAuthenticationService.java and GrpcAuthenticationClientManager.java.
- class ClientId(*, name=..., uuid=...)[source]¶
Bases:
google.protobuf.message.MessageA unique client identifier sent by clients to introduce themselves to servers.
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- name: str[source]¶
A string to identify this client in server side log files. This has no relation to username in authentication, it is exclusively a way for client programs to provide support for ease of debugging, by providing descriptive text. A good example could be python reconciliation script running on machine a.b.c.d. The server will only use this string in the initial logging for a client connection. The intent is to facilitate debugging when an administrator or user of this API needs to find the entries for a given client program in server logs. The protocol is designed so that uuid is enough for tracing unique clients, so this string is not strictly necessary; it may save effort for an admin (or yourself) in tracking down a uuid in a sea of machines however. Libraries built on top of this proto are expected to allow users to provide their own string (hopefully including explanatory documentation for the purpose in their API definition). When users do not provide one, libraries are expected to provide sensible defaults (eg, “python client running on machine a.b.c.d”).
- uuid: bytes[source]¶
A client uuid in bytes is created by client library code and used for the lifetime of that client process. A client’s uuid is expected by the server to be unique across all live client channels. If the same client process during its lifetime connects to different server processes, be it on different machines or different server process instances on the same machine (eg, server bounce), the client process is expected to use the same uuid to all servers. Note that uuids are a means for clients and servers to uniquely identify clients in log files; a uuid on its own is not enough to uniquely identify and trust a client session in the server. See ‘cookie’ in other messages below for a unique, and secret, client session identifier. The uuid is a user-visible unique name for a client, that can be used across non-overlapping sessions. The cookie is not user-visible and is provided by the protocol and required by the server to trust messages to have a particular client as origin.
- class GetNonceRequest(*, client_id=...)[source]¶
Bases:
google.protobuf.message.MessageRequest argument for getNonce rpc. See the service definition file for details on the rpc request.
- Parameters:
client_id (Global___ClientId | None)
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- HasField(field_name)[source]¶
Checks if a certain field is set for the message.
For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor,
ValueErrorwill be raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Returns:
Whether a value has been set for the named field.
- Return type:
- Raises:
ValueError – if the field_name is not a member of this message.
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- property client_id: Global___ClientId[source]¶
the client id for the client making the request.
- Return type:
- class GetNonceResponse(*, nonce=..., ip_address=...)[source]¶
Bases:
google.protobuf.message.MessageRequest response for getNonce rpc. See the service definition file for details on the rpc request.
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- class GetTokenAsRequest(*, cookie=..., service=..., operateAsUser=...)[source]¶
Bases:
google.protobuf.message.MessageRequest argument for getTokenAs rpc See the service definition file for details on the rpc request.
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- class GetTokenAsResponse(*, token=...)[source]¶
Bases:
google.protobuf.message.MessageRequest response for getTokenAs rpc See the service definition file for details on the rpc request.
- Parameters:
token (Global___Token | None)
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- HasField(field_name)[source]¶
Checks if a certain field is set for the message.
For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor,
ValueErrorwill be raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Returns:
Whether a value has been set for the named field.
- Return type:
- Raises:
ValueError – if the field_name is not a member of this message.
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- property token: Global___Token[source]¶
the token payload
- Return type:
- class GetTokenRequest(*, cookie=..., service=...)[source]¶
Bases:
google.protobuf.message.MessageRequest argument for getToken rpc. See the service definition file for details on the rpc request.
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- class GetTokenResponse(*, token=...)[source]¶
Bases:
google.protobuf.message.MessageRequest response for getToken rpc. See the service definition file for details on the rpc request.
- Parameters:
token (Global___Token | None)
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- HasField(field_name)[source]¶
Checks if a certain field is set for the message.
For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor,
ValueErrorwill be raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Returns:
Whether a value has been set for the named field.
- Return type:
- Raises:
ValueError – if the field_name is not a member of this message.
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- property token: Global___Token[source]¶
the token payload
- Return type:
- class InvalidateCookieRequest(*, cookie=...)[source]¶
Bases:
google.protobuf.message.MessageRequest argument for invalidateCookie rpc. See the service definition file for details on the rpc request.
- Parameters:
cookie (bytes)
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- class InvalidateCookieResponse[source]¶
Bases:
google.protobuf.message.MessageRequest response for invalidateCookie rpc. See the service definition file for details on the rpc request.
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- class KvClientData(*, hashedCookie=..., userContext=...)[source]¶
Bases:
google.protobuf.message.MessageThis message is not used in requests/responses, but to serialize/deserialize the information associated with a uuid client (KV key) with its payload (KV value) in etcd.
- Parameters:
hashedCookie (bytes)
userContext (Global___UserContext | None)
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- HasField(field_name)[source]¶
Checks if a certain field is set for the message.
For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor,
ValueErrorwill be raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Returns:
Whether a value has been set for the named field.
- Return type:
- Raises:
ValueError – if the field_name is not a member of this message.
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- property userContext: Global___UserContext[source]¶
- Return type:
- class RefreshCookieRequest(*, cookie=...)[source]¶
Bases:
google.protobuf.message.MessageRequest argument for refreshCookie rpc. See the service definition file for details on the rpc request.
- Parameters:
cookie (bytes)
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- class RefreshCookieResponse(*, cookie=..., cookie_deadline_time_millis=...)[source]¶
Bases:
google.protobuf.message.MessageRequest response for refreshCookie rpc. See the service definition file for details on the rpc request.
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- class ReloadRequest[source]¶
Bases:
google.protobuf.message.MessageRequest argument for reload rpc. See the service definition file for details on the rpc request.
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- class ReloadResponse(*, result=...)[source]¶
Bases:
google.protobuf.message.MessageRequest response for reload rpc. See the service definition file for details on the rpc request.
- Parameters:
result (str)
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- class Token(*, token_id=..., service=..., user_context=..., ip_address=...)[source]¶
Bases:
google.protobuf.message.MessageA token is a server-generated identifier for a client that allows the client to present themselves to other services using the token as a means of verifying identity and credentials; the other service can validate a token provided by a client with an authentication server to confirm the claimed identity and credentials.
- Parameters:
token_id (int)
service (str)
user_context (Global___UserContext | None)
ip_address (bytes)
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- HasField(field_name)[source]¶
Checks if a certain field is set for the message.
For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor,
ValueErrorwill be raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Returns:
Whether a value has been set for the named field.
- Return type:
- Raises:
ValueError – if the field_name is not a member of this message.
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- property user_context: Global___UserContext[source]¶
The credentials for the token.
- Return type:
- class UserContext(*, authenticatedUser=..., effectiveUser=...)[source]¶
Bases:
google.protobuf.message.MessageAbstract base class for protocol messages.
Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- class VerifyChallengeRequest(*, server_ip_address=..., client_id=..., user_context=..., public_key=..., challenge_response=...)[source]¶
Bases:
google.protobuf.message.MessageRequest argument for verifyNonce request. See the service definition file for details on the rpc request.
- Parameters:
server_ip_address (bytes)
client_id (Global___ClientId | None)
user_context (Global___UserContext | None)
public_key (bytes)
challenge_response (bytes)
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- HasField(field_name)[source]¶
Checks if a certain field is set for the message.
For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor,
ValueErrorwill be raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Returns:
Whether a value has been set for the named field.
- Return type:
- Raises:
ValueError – if the field_name is not a member of this message.
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- challenge_response: bytes[source]¶
The nonce challenge response, which should have been obtained from processing the result of an earlier getNonce rpc request by the client on the server receiving this request (“this” server)
- property client_id: Global___ClientId[source]¶
the client id for the client making the originating request
- Return type:
- server_ip_address: bytes[source]¶
the ip address of the server making the request on behalf of a client
- property user_context: Global___UserContext[source]¶
the credentials desired.
- Return type:
- class VerifyChallengeResponse(*, success=..., userContext=...)[source]¶
Bases:
google.protobuf.message.MessageRequest response for verifyNonce request. See the service definition file for details on the rpc request.
- Parameters:
success (bool)
userContext (Global___UserContext | None)
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- HasField(field_name)[source]¶
Checks if a certain field is set for the message.
For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor,
ValueErrorwill be raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Returns:
Whether a value has been set for the named field.
- Return type:
- Raises:
ValueError – if the field_name is not a member of this message.
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- property userContext: Global___UserContext[source]¶
The user context that can be actually authenticated; if there was one in the original client request this should match it.
- Return type:
- class VerifyTokenRequest(*, service=..., token=...)[source]¶
Bases:
google.protobuf.message.MessageRequest argument for verifyToken rpc See the service definition file for details on the rpc request.
- Parameters:
service (str)
token (Global___Token | None)
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- HasField(field_name)[source]¶
Checks if a certain field is set for the message.
For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor,
ValueErrorwill be raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Returns:
Whether a value has been set for the named field.
- Return type:
- Raises:
ValueError – if the field_name is not a member of this message.
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- property token: Global___Token[source]¶
the token payload for verification.
- Return type:
- class VerifyTokenResponse(*, token_valid=...)[source]¶
Bases:
google.protobuf.message.MessageRequest response for verifyToken rpc See the service definition file for details on the rpc request.
- Parameters:
token_valid (bool)
- ClearField(field_name)[source]¶
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- DESCRIPTOR: google.protobuf.descriptor.Descriptor[source]¶
- ALREADY_AUTHENTICATED: CallStatus[source]¶
AlreadyAuthenticatedException
- AUTH_ERROR_NON_RETRYABLE: CallStatus[source]¶
AuthException, non-retryable.
- AUTH_ERROR_RETRYABLE: CallStatus[source]¶
AuthException, retryable.
- type Global___AuthenticateByCookieRequest = AuthenticateByCookieRequest[source]¶
- type Global___AuthenticateByCookieResponse = AuthenticateByCookieResponse[source]¶
- type Global___AuthenticateByDelegateTokenRequest = AuthenticateByDelegateTokenRequest[source]¶
- type Global___AuthenticateByDelegateTokenResponse = AuthenticateByDelegateTokenResponse[source]¶
- type Global___AuthenticateByExternalRequest = AuthenticateByExternalRequest[source]¶
- type Global___AuthenticateByExternalResponse = AuthenticateByExternalResponse[source]¶
- type Global___AuthenticateByPasswordRequest = AuthenticateByPasswordRequest[source]¶
- type Global___AuthenticateByPasswordResponse = AuthenticateByPasswordResponse[source]¶
- type Global___AuthenticateByPublicKeyRequest = AuthenticateByPublicKeyRequest[source]¶
- type Global___AuthenticateByPublicKeyResponse = AuthenticateByPublicKeyResponse[source]¶
- type Global___AuthenticationResult = AuthenticationResult[source]¶
- type Global___CallStatus = CallStatus[source]¶
- type Global___GetNonceRequest = GetNonceRequest[source]¶
- type Global___GetNonceResponse = GetNonceResponse[source]¶
- type Global___GetTokenAsRequest = GetTokenAsRequest[source]¶
- type Global___GetTokenAsResponse = GetTokenAsResponse[source]¶
- type Global___GetTokenRequest = GetTokenRequest[source]¶
- type Global___GetTokenResponse = GetTokenResponse[source]¶
- type Global___InvalidateCookieRequest = InvalidateCookieRequest[source]¶
- type Global___InvalidateCookieResponse = InvalidateCookieResponse[source]¶
- type Global___KvClientData = KvClientData[source]¶
- type Global___RefreshCookieRequest = RefreshCookieRequest[source]¶
- type Global___RefreshCookieResponse = RefreshCookieResponse[source]¶
- type Global___ReloadRequest = ReloadRequest[source]¶
- type Global___ReloadResponse = ReloadResponse[source]¶
- type Global___UserContext = UserContext[source]¶
- type Global___VerifyChallengeRequest = VerifyChallengeRequest[source]¶
- type Global___VerifyChallengeResponse = VerifyChallengeResponse[source]¶
- type Global___VerifyTokenRequest = VerifyTokenRequest[source]¶
- type Global___VerifyTokenResponse = VerifyTokenResponse[source]¶
- NOT_AUTHENTICATED: CallStatus[source]¶
NotAuthenticatedException
- OK: CallStatus[source]¶
No error, everything is fine.
- PUB_PRIV_KEY: CallStatus[source]¶
PubPrivKeyException
- TOKEN_CREATION: CallStatus[source]¶
TokenCreationException
- TOKEN_VERIFICATION: CallStatus[source]¶
TokenVerificationException
- UNAVAILABLE: CallStatus[source]¶
UnavailableException