class documentation

Undocumented

Class __OneOfClass_credential__ Undocumented
Class __OneOfClass_credential_static_key_credential__ Undocumented
Class __OneOfClass_credential_token_credential__ Undocumented
Method __dir__ Undocumented
Method __init__ Undocumented
Method authenticated.setter Undocumented
Method authentication_type.setter Undocumented
Method federation.setter Undocumented
Method static_key_credential.setter Undocumented
Method subject.setter Undocumented
Method token_credential.setter Undocumented
Constant __PB2_DESCRIPTOR__ Undocumented
Constant __PY_TO_PB2__ Undocumented
Class Variable __mask_functions__ Undocumented
Property authenticated Answers the question whether or not the subject has been successfully authenticated.
Property authentication_type Describes the type of authentication.
Property credential Undocumented
Property federation Information on the federation within which the subject exists.
Property static_key_credential Information about static key.
Property subject Contains information about the subject of the call.
Property token_credential Information about token.

Inherited from Message:

Class Method get_descriptor Undocumented
Class Method is_credentials Undocumented
Class Method is_sensitive Undocumented
Method __repr__ Undocumented
Method check_presence Undocumented
Method get_full_update_reset_mask Undocumented
Method get_mask Undocumented
Method is_default Undocumented
Method set_mask Undocumented
Method which_field_in_oneof Undocumented
Class Variable __PB2_CLASS__ Undocumented
Instance Variable __pb2_message__ Undocumented
Method _clear_field Undocumented
Method _get_field Undocumented
Method _set_field Undocumented
Class Variable __credentials_fields Undocumented
Class Variable __default Undocumented
Class Variable __sensitive_fields Undocumented
Instance Variable __recorded_reset_mask Undocumented
def __dir__(self) -> abc.Iterable[builtins.str]: (source)

Undocumented

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)
def authenticated(self, value: builtins.bool | None): (source)

Undocumented

def authentication_type(self, value: AuthenticationType | authentication_type_pb2.AuthenticationType | None): (source)

Undocumented

def federation(self, value: Federation | federation_pb2.Federation | None): (source)

Undocumented

def static_key_credential(self, value: StaticKey | static_key_pb2.StaticKey | None): (source)

Undocumented

def subject(self, value: Subject | subject_pb2.Subject | None): (source)

Undocumented

def token_credential(self, value: AccessToken | access_token_pb2.AccessToken | None): (source)

Undocumented

__PB2_DESCRIPTOR__ = (source)

Undocumented

Value
descriptor.DescriptorWrap[descriptor_1.Descriptor]('.nebius.audit.v2.Authenticat
ion',
                                                   authentication_pb2.DESCRIPTOR
,
                                                   descriptor_1.Descriptor)
__PY_TO_PB2__: builtins.dict[builtins.str, builtins.str] = (source)

Undocumented

Value
{'authenticated': 'authenticated',
 'subject': 'subject',
 'federation': 'federation',
 'authentication_type': 'authentication_type',
 'token_credential': 'token_credential',
 'static_key_credential': 'static_key_credential',
 'credential': 'credential'}
@builtins.property
authenticated: builtins.bool = (source)

Answers the question whether or not the subject has been successfully authenticated.

@builtins.property
authentication_type: AuthenticationType = (source)

Describes the type of authentication.

@builtins.property
federation: Federation = (source)

Information on the federation within which the subject exists.

@builtins.property
static_key_credential: StaticKey | None = (source)

Information about static key.

@builtins.property
subject: Subject = (source)

Contains information about the subject of the call.

@builtins.property
token_credential: AccessToken | None = (source)

Information about token.