-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathApplication.cs
More file actions
58 lines (48 loc) · 1.77 KB
/
Copy pathApplication.cs
File metadata and controls
58 lines (48 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
namespace Dfe.SignIn.Core.Contracts.Applications;
/// <summary>
/// A model representing a service application registration in DfE Sign-in.
/// </summary>
public sealed record Application
{
/// <summary>
/// The unique value that identifies the service application.
/// </summary>
public required Guid Id { get; init; }
/// <summary>
/// The unique client ID of the service application.
/// </summary>
public required string ClientId { get; init; }
/// <summary>
/// The name of the service application.
/// </summary>
public required string Name { get; init; }
/// <summary>
/// A description of the application.
/// </summary>
public string? Description { get; init; }
/// <summary>
/// The home URL of the service.
/// </summary>
public Uri? ServiceHomeUrl { get; init; }
/// <summary>
/// A boolean value indicating if this is an external service.
/// </summary>
public required bool IsExternalService { get; init; }
/// <summary>
/// A boolean value indicating if this is an ID-only service.
/// </summary>
public required bool IsIdOnlyService { get; init; }
/// <summary>
/// A boolean value hinting that the service should be hidden on the "My Services"
/// page if possible. Role based services are not hidden.
/// </summary>
public required bool IsHiddenService { get; init; }
/// <summary>
/// Parent application ID, if this application is a child of another application.
/// </summary>
public Guid? ParentId { get; init; }
/// <summary>
/// The unique client identifier (e.g., "GIAS") of the parent application, if this application is a child of another application.
/// </summary>
public string? ParentClientId { get; init; }
}