class documentation
class Authentication(pb_classes.Message): (source)
Constructor: Authentication(initial_message, authenticated, subject, federation, ...)
Undocumented
| Class | __ |
Undocumented |
| Class | __ |
Undocumented |
| Class | __ |
Undocumented |
| Method | __dir__ |
Undocumented |
| Method | __init__ |
Create a wrapper around a protobuf message instance. |
| Method | authenticated |
Undocumented |
| Method | authentication |
Undocumented |
| Method | federation |
Undocumented |
| Method | static |
Undocumented |
| Method | subject |
Undocumented |
| Method | token |
Undocumented |
| Constant | __PB2 |
Undocumented |
| Constant | __PY |
Undocumented |
| Class Variable | __mask |
Undocumented |
| Property | authenticated |
Answers the question whether or not the subject has been successfully authenticated. |
| Property | authentication |
Describes the type of authentication. |
| Property | credential |
Undocumented |
| Property | federation |
Information on the federation within which the subject exists. |
| Property | static |
Information about static key. |
| Property | subject |
Contains information about the subject of the call. |
| Property | token |
Information about token. |
Inherited from Message:
| Class Method | get |
Return the protobuf descriptor for this message class. |
| Class Method | is |
Return True if the field contains credentials. |
| Class Method | is |
Return True if the field is marked as sensitive. |
| Method | __repr__ |
Return a human-readable representation of the message, sanitizing sensitive fields. |
| Method | check |
Check explicit presence for a field in the protobuf message. |
| Method | get |
Build a reset mask for a full update of this message. |
| Method | get |
Return the tracked reset mask. |
| Method | is |
Return True if a field equals its default value. |
| Method | set |
Replace the tracked reset mask. |
| Method | which |
Return the set field name for a given oneof. |
| Instance Variable | __PB2 |
Protobuf message class associated with this wrapper. |
| Instance Variable | __pb2 |
Underlying protobuf message instance. |
| Method | _clear |
Clear a field and record it in the reset mask. |
| Method | _get |
Return a field value with optional wrapping and presence handling. |
| Method | _set |
Set a field value and update the reset mask. |
| Class Variable | __credentials |
Undocumented |
| Class Variable | __default |
Undocumented |
| Class Variable | __sensitive |
Undocumented |
| Instance Variable | __recorded |
Mask tracking fields cleared or set to default. |
def __init__(self, initial_message:
message_1.Message | None = None, *, authenticated: builtins.bool | None | unset.UnsetType = unset.Unset, subject: Subject | subject_pb2.Subject | None | unset.UnsetType = unset.Unset, federation: Federation | federation_pb2.Federation | None | unset.UnsetType = unset.Unset, authentication_type: AuthenticationType | authentication_type_pb2.AuthenticationType | None | unset.UnsetType = unset.Unset, token_credential: AccessToken | access_token_pb2.AccessToken | None | unset.UnsetType = unset.Unset, static_key_credential: StaticKey | static_key_pb2.StaticKey | None | unset.UnsetType = unset.Unset):
(source)
¶
Create a wrapper around a protobuf message instance.
| Raises | |
AttributeError | If the wrapper is missing required class metadata. |
@authentication_type.setter
def authentication_type(self, value:
def authentication_type(self, value:
AuthenticationType | authentication_type_pb2.AuthenticationType | None):
(source)
¶
Undocumented
@federation.setter
def federation(self, value:
def federation(self, value:
Federation | federation_pb2.Federation | None):
(source)
¶
Undocumented
@static_key_credential.setter
def static_key_credential(self, value:
def static_key_credential(self, value:
StaticKey | static_key_pb2.StaticKey | None):
(source)
¶
Undocumented
@token_credential.setter
def token_credential(self, value:
def token_credential(self, value:
AccessToken | access_token_pb2.AccessToken | None):
(source)
¶
Undocumented
Undocumented
| Value |
|
Undocumented
| Value |
|
@builtins.property
credential:
credential:
__OneOfClass_credential_token_credential__ | __OneOfClass_credential_static_key_credential__ | None =
(source)
¶
Undocumented