共用方式為


ManagedIdentity Class

Feed an instance of this class to <xref:msal.ManagedIdentityClient> to acquire token for the specified managed identity.

Inheritance
ManagedIdentity

Constructor

ManagedIdentity(identifier=None, id_type=None)

Parameters

Name Description
identifier
Default value: None
id_type
Default value: None

Methods

is_managed_identity
is_system_assigned
is_user_assigned

is_managed_identity

is_managed_identity(unknown)

Parameters

Name Description
unknown
Required

is_system_assigned

is_system_assigned(unknown)

Parameters

Name Description
unknown
Required

is_user_assigned

is_user_assigned(unknown)

Parameters

Name Description
unknown
Required

Attributes

CLIENT_ID

CLIENT_ID = 'ClientId'

ID

ID = 'Id'

ID_TYPE

ID_TYPE = 'ManagedIdentityIdType'

OBJECT_ID

OBJECT_ID = 'ObjectId'

RESOURCE_ID

RESOURCE_ID = 'ResourceId'

SYSTEM_ASSIGNED

SYSTEM_ASSIGNED = 'SystemAssigned'