WIP audiences
This commit is contained in:
parent
9846210fd6
commit
f3bb039d2f
15 changed files with 102 additions and 82 deletions
|
|
@ -10,7 +10,7 @@ namespace cli
|
|||
public string ClientId { get; set; }
|
||||
public string ClientSecret { get; set; }
|
||||
public string Authority { get; set; }
|
||||
public string Audience { get; set; }
|
||||
public string[] Audience { get; set; }
|
||||
public string SiteAccessSheme { get; set; } = "http";
|
||||
public int Port { get; set; }
|
||||
public string Scope { get; set; } = "profile";
|
||||
|
|
@ -21,14 +21,14 @@ namespace cli
|
|||
return Port==0 ? $"{SiteAccessSheme}://{Authority}/authorize" :
|
||||
$"{SiteAccessSheme}://{Authority}:{Port}/authorize" ;
|
||||
} }
|
||||
|
||||
|
||||
[NotMapped]
|
||||
[JsonIgnore]
|
||||
public string RedirectUrl {get {
|
||||
return Port==0 ? $"{SiteAccessSheme}://{Authority}/oauth/success" :
|
||||
$"{SiteAccessSheme}://{Authority}:{Port}/oauth/success" ;
|
||||
} }
|
||||
|
||||
|
||||
[NotMapped]
|
||||
[JsonIgnore]
|
||||
public string AccessTokenUrl { get {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue