-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
13 additions
and
2 deletions.
There are no files selected for viewing
15 changes: 13 additions & 2 deletions
15
....Keycloak.Auth.MultiTenancy/Feijuca.Keycloak.MultiTenancy/Services/Models/AuthSettings.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,20 @@ | ||
namespace Feijuca.Keycloak.MultiTenancy.Services.Models | ||
{ | ||
public record AuthSettings(string? ClientId, string? Resource, string? AuthServerUrl, string? PolicyName, IEnumerable<string>? Roles, IEnumerable<string>? Scopes) | ||
public class AuthSettings | ||
{ | ||
public string? ClientId { get; set; } | ||
public string? Resource { get; set; } | ||
public string? AuthServerUrl { get; set; } | ||
public string? PolicyName { get; set; } | ||
public IEnumerable<string> Roles { get; set; } = []; | ||
public IEnumerable<string> Scopes { get; set; } = []; | ||
public IEnumerable<Realm> Realms { get; set; } = []; | ||
} | ||
|
||
public record Realm(string? Name, string? Audience, string? Issuer); | ||
public class Realm | ||
{ | ||
public string? Name { get; set; } | ||
public string? Audience { get; set; } | ||
public string? Issuer { get; set; } | ||
} | ||
} |