models.idp_user_info module¶
-
class
models.idp_user_info.
IdpUserInfo
(groups=None, idp_id=None, issuer_id=None, user_id=None, vendor=None)[source]¶ Bases:
object
Implementation of the ‘IdpUserInfo’ model.
Specifies an IdP User’s information logged in using an IdP. This information is not stored on the Cluster.
- Attributes:
- groups (list of string): Specifies the Idp groups that the user is
part of. As the user may not be registered on the cluster, we may have to capture the idp group membership. This way, if a group is created on the cluster later, users will instantly have access to tenantIds from that group as well.
- idp_id (long|int): Specifies the unique Id assigned by the Cluster for
the IdP.
- issuer_id (string): Specifies the unique identifier assigned by the
vendor for this Cluster.
- user_id (string): Specifies the unique identifier assigned by the
vendor for the user.
vendor (string): Specifies the vendor providing the IdP service.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.