Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.23 KB

PrincipalContext.md

File metadata and controls

32 lines (23 loc) · 1.23 KB

PrincipalContext

Represents the context of a principal, which provides access to identity-related information and functionality.

Properties

Name Type Description Notes
tokens AccessToken [optional]
name str Gets the name of the principal. [optional] [readonly]
claims List[ClaimLite] Gets the claims associated with the principal. [optional] [readonly]

Example

from openapi_client.models.principal_context import PrincipalContext

# TODO update the JSON string below
json = "{}"
# create an instance of PrincipalContext from a JSON string
principal_context_instance = PrincipalContext.from_json(json)
# print the JSON string representation of the object
print(PrincipalContext.to_json())

# convert the object into a dict
principal_context_dict = principal_context_instance.to_dict()
# create an instance of PrincipalContext from a dict
principal_context_from_dict = PrincipalContext.from_dict(principal_context_dict)

[Back to Model list] [Back to API list] [Back to README]