Skip to content

Commit

Permalink
feat(server): add possibility to override source of authority url for…
Browse files Browse the repository at this point in the history
… discovery
  • Loading branch information
gingters committed Aug 22, 2023
1 parent 9932aff commit 4744cc4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public DiscoveryDocument BuildDiscoveryDocument(HttpRequest request)
private Uri BuildBaseUri(HttpRequest request)
=> new Uri($"{request.Scheme}://{request.Host}{request.PathBase}", UriKind.Absolute);

private string? GetAuthority()
protected virtual string? GetAuthority()

Check warning on line 58 in src/Thinktecture.Relay.Server/Services/DiscoveryDocumentBuilder.cs

View workflow job for this annotation

GitHub Actions / build

Missing XML comment for publicly visible type or member 'DiscoveryDocumentBuilder.GetAuthority()'

Check warning on line 58 in src/Thinktecture.Relay.Server/Services/DiscoveryDocumentBuilder.cs

View workflow job for this annotation

GitHub Actions / build

Missing XML comment for publicly visible type or member 'DiscoveryDocumentBuilder.GetAuthority()'
=> _serviceProvider.GetService<IOptionsSnapshot<JwtBearerOptions>>()?.Get(Constants.DefaultAuthenticationScheme)
?.Authority;
}

0 comments on commit 4744cc4

Please sign in to comment.