4 writes to Type
Aspire.Hosting.Azure.EntraId.Tests (4)
EntraIdPolyglotTests.cs (4)
435new EntraIdExternalApiPermission { Name = "User.Read.All", Type = EntraIdPermissionType.Application } 440new EntraIdExternalApiPermission { Name = "items.write", Type = EntraIdPermissionType.Application, Id = permissionId.ToString() } 446new EntraIdExternalApiPermission { Name = "User.Read.All", Type = EntraIdPermissionType.Application } 554var undefinedType = new EntraIdExternalApiPermission { Name = "User.Read.All", Type = (EntraIdPermissionType)2 };
3 references to Type
Aspire.Hosting.Azure.EntraId (3)
EntraIdResourceExtensions.cs (3)
2864return (permission.Type ?? EntraIdPermissionType.Delegated, id) switch 2870_ => throw new ArgumentOutOfRangeException(nameof(permissions), permission.Type, $"'{permission.Type}' is not a defined {nameof(EntraIdPermissionType)} value.")