ManagedIdentityId Class
- java.
lang. Object - com.
microsoft. aad. msal4j. ManagedIdentityId
- com.
public class ManagedIdentityId
Method Summary
Modifier and Type | Method and Description |
---|---|
com.microsoft.aad.msal4j.ManagedIdentityIdType | getIdType() |
java.lang.String | getUserAssignedId() |
static
Managed |
systemAssigned()
Create an instance of a system assigned managed identity. |
static
Managed |
userAssignedClientId(String clientId)
Create an instance of Managed |
static
Managed |
userAssignedObjectId(String objectId)
Create an instance of Managed |
static
Managed |
userAssignedResourceId(String resourceId)
Create an instance of Managed |
Methods inherited from java.lang.Object
Method Details
getIdType
public ManagedIdentityIdType getIdType()
getUserAssignedId
public String getUserAssignedId()
systemAssigned
public static ManagedIdentityId systemAssigned()
Create an instance of a system assigned managed identity.
Returns:
userAssignedClientId
public static ManagedIdentityId userAssignedClientId(String clientId)
Create an instance of ManagedIdentityId for a user assigned managed identity from a client id.
Parameters:
Returns:
userAssignedObjectId
public static ManagedIdentityId userAssignedObjectId(String objectId)
Create an instance of ManagedIdentityId for a user assigned managed identity from an object id.
Parameters:
Returns:
userAssignedResourceId
public static ManagedIdentityId userAssignedResourceId(String resourceId)
Create an instance of ManagedIdentityId for a user assigned managed identity from a resource id.
Parameters:
Returns: