Share via


ManagedIdentityTokenSource Class

Returns a ManagedIdentityTokenSource object.

Constructor

ManagedIdentityTokenSource(resource: str)

Parameters

Name Description
resource
Required

Methods

to_json

Convert object into a json dictionary.

to_json

Convert object into a json dictionary.

to_json() -> Dict[str, int | str]

Returns

Type Description

The instance of the class converted into a json dictionary

Attributes

resource

Get the Azure Active Directory resource identifier of the web API being invoked.

For example, https://management.core.windows.net/ or https://graph.microsoft.com/.