AuthenticateClientResult

class oci.identity_data_plane.models.AuthenticateClientResult(**kwargs)

Bases: object

AuthenticateClientResult model.

Methods

__init__(**kwargs) Initializes a new AuthenticateClientResult object with values from keyword arguments.

Attributes

error_message Gets the error_message of this AuthenticateClientResult.
principal Gets the principal of this AuthenticateClientResult.
__init__(**kwargs)

Initializes a new AuthenticateClientResult object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • principal (oci.identity_data_plane.models.Principal) – The value to assign to the principal property of this AuthenticateClientResult.
  • error_message (str) – The value to assign to the error_message property of this AuthenticateClientResult.
error_message

Gets the error_message of this AuthenticateClientResult. If the authentication fails for the original caller (not failing authentication of the calling service, in which case we return 401), we return a 200, but with null principal and an error message

Returns:The error_message of this AuthenticateClientResult.
Return type:str
principal

Gets the principal of this AuthenticateClientResult. The original caller’s resolved principal object if the authentication succeeds, null otherwise.

Returns:The principal of this AuthenticateClientResult.
Return type:oci.identity_data_plane.models.Principal