Class AuthorizationManager

    • Method Detail

      • authenticate

        public static AuthorizationManager authenticate​(com.azure.core.credential.TokenCredential credential,
                                                        com.azure.core.management.profile.AzureProfile profile)
        Creates an instance of AuthorizationManager that exposes Authorization and Graph RBAC management API entry points.
        Parameters:
        credential - the credential to use
        profile - the profile to use
        Returns:
        the AuthorizationManager instance
      • configure

        public static AuthorizationManager.Configurable configure()
        Get a Configurable instance that can be used to create AuthorizationManager with optional configuration.
        Returns:
        the instance allowing configurations
      • roleServiceClient

        public AuthorizationManagementClient roleServiceClient()
        Returns:
        wrapped inner authorization client providing direct access to auto-generated API implementation, based on Azure REST API
      • tenantId

        public String tenantId()
        Returns:
        the tenant ID the graph client is associated with
      • environment

        public com.azure.core.management.AzureEnvironment environment()
        Returns:
        the environment the graph client is associated with
      • users

        public ActiveDirectoryUsers users()
        Returns:
        the Active Directory user management API entry point
      • groups

        public ActiveDirectoryGroups groups()
        Returns:
        the Active Directory group management API entry point
      • servicePrincipals

        public ServicePrincipals servicePrincipals()
        Returns:
        the service principal management API entry point
      • roleAssignments

        public RoleAssignments roleAssignments()
        Returns:
        the role assignment management API entry point
      • roleDefinitions

        public RoleDefinitions roleDefinitions()
        Returns:
        the role definition management API entry point