Skip to content

Commit af22053

Browse files
committed
Updated to match new branding
1 parent 611a414 commit af22053

File tree

4 files changed

+19
-20
lines changed

4 files changed

+19
-20
lines changed

astro.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,9 @@ export default defineConfig({
164164
collapsed: true,
165165
},
166166
{
167-
label: "IdentityModel.AspNetCore.\r\nOAuth2Introspection",
167+
label: "Introspection Auth Handler",
168168
badge: "oss",
169-
autogenerate: { directory: "identitymodel-oauth2introspection" },
169+
autogenerate: { directory: "introspection-auth-handler" },
170170
collapsed: true,
171171
},
172172
],

src/content/docs/index.mdx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ import {
3131
Badge,
3232
} from "@astrojs/starlight/components";
3333
import Newsletter from "~/components/Newsletter.astro";
34-
import TestimonialGrid from "~/components/testimonial-grid.astro";
35-
import Testimonial from "~/components/testimonial.astro";
3634

3735
<CardGrid>
3836
<Card title="Install templates" icon="rocket">
@@ -89,9 +87,9 @@ import Testimonial from "~/components/testimonial.astro";
8987
Learn more
9088
</LinkButton>
9189
</Card>
92-
<Card title="OAuth 2.0 Introspection" icon="github">
93-
<Badge text={"OSS"} /> .NET library to use OAuth 2.0 introspection in ASP.NET Core.
94-
<LinkButton href="/identitymodel-oauth2introspection/" variant="secondary">
90+
<Card title="Introspection Authentication Handler" icon="github">
91+
<Badge text={"OSS"} /> ASP.NET Core authentication handler for OAuth 2.0 token introspection.
92+
<LinkButton href="/introspection-auth-handler/" variant="secondary">
9593
Learn more
9694
</LinkButton>
9795
</Card>

src/content/docs/identitymodel-oauth2introspection/index.mdx renamed to src/content/docs/introspection-auth-handler/index.mdx

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Duende IdentityModel OAuth 2.0 Token Introspection
2+
title: Duende Introspection Authentication Handler
33
description: An ASP.NET Core authentication handler for OAuth 2.0 token introspection.
44
sidebar:
55
label: Overview
@@ -8,7 +8,7 @@ sidebar:
88

99
import { CardGrid, LinkCard } from "@astrojs/starlight/components";
1010

11-
The `Duende.IdentityModel.AspNetCore.OAuth2Introspection` library implements an ASP.NET Core authentication handler for
11+
The `Duende.AspNetCore.Authentication.OAuth2Introspection` library implements an ASP.NET Core authentication handler for
1212
OAuth 2.0 token introspection, as defined in [RFC 7662](https://datatracker.ietf.org/doc/html/rfc7662), "OAuth 2.0 Token Introspection".
1313

1414
## Use Case
@@ -19,38 +19,39 @@ your application, where the token itself does not carry any information about th
1919
relies on the authorization server to provide this information.
2020

2121
:::tip
22-
You can also use this library to introspect JWT tokens, by disabling `SkipTokensWithDots` in the `OAuth2IntrospectionOptions`.
23-
This is disabled by default.
22+
By default, you can also use this library to introspect JWT tokens.
23+
You can disable this behavior by setting `SkipTokensWithDots = true` in the [`OAuth2IntrospectionOptions`](/introspection-auth-handler/options.mdx).
2424
:::
2525

2626
## Features
2727

2828
- Implements the OAuth 2.0 token introspection protocol.
2929
- Supports both opaque and JWT access token introspection.
30-
- TODO: does it support introspection of refresh tokens?
3130
- Supports caching of introspection results to reduce load on the authorization server.
3231
- Provides a customizable authentication handler for ASP.NET Core.
3332
- Integrates seamlessly with ASP.NET Core's authentication middleware.
3433

3534
## Installation
3635

37-
To use the `Duende.IdentityModel.AspNetCore.OAuth2Introspection` library, you need to add the NuGet package to your ASP.NET Core project.
38-
You can do this by running the following command in your terminal:
36+
If you want to use the `Duende.AspNetCore.Authentication.OAuth2Introspection` library, you need to add the NuGet package
37+
to your ASP.NET Core project.
38+
39+
You can achieve this by running the following command in your terminal:
3940

4041
```bash
41-
dotnet package add Duende.IdentityModel.AspNetCore.OAuth2Introspection
42+
dotnet package add Duende.AspNetCore.Authentication.OAuth2Introspection
4243
```
4344

4445
## Configuration
4546

4647
To configure the OAuth 2.0 token introspection handler in your ASP.NET Core application, you need to add it to the
4748
authentication services in your `Startup.cs` or `Program.cs` file.
4849

49-
Here's an example of how to set it up:
50+
Here's an example on how to set it up:
5051

5152
```csharp
5253
// Program.cs
53-
using Duende.IdentityModel.AspNetCore.OAuth2Introspection;
54+
using Duende.AspNetCore.Authentication.OAuth2Introspection;
5455

5556
builder.Services.AddAuthentication(OAuth2IntrospectionDefaults.AuthenticationScheme)
5657
.AddOAuth2Introspection(options =>
@@ -62,7 +63,7 @@ builder.Services.AddAuthentication(OAuth2IntrospectionDefaults.AuthenticationSch
6263
});
6364
```
6465

65-
More details on the available options can be found on the [options page](/identitymodel-oauth2introspection/options.mdx).
66+
More details on the available options can be found on the [options page](/introspection-auth-handler/options.mdx).
6667

6768
### Configuring the Backchannel HTTP Client
6869

@@ -85,7 +86,7 @@ builder.Services.AddHttpClient(OAuth2IntrospectionDefaults.BackchannelHttpClient
8586

8687
## License and Feedback
8788

88-
`Duende.IdentityModel.AspNetCore.OAuth2Introspection` is released as open source under the
89+
`Duende.AspNetCore.Authentication.OAuth2Introspection` is released as open source under the
8990
[Apache 2.0 license](https://github.com/DuendeSoftware/foss/blob/main/LICENSE).
9091
Bug reports and contributions are welcome at
9192
[the GitHub repository](https://github.com/DuendeSoftware/foss).
@@ -97,7 +98,7 @@ Bug reports and contributions are welcome at
9798
description="View the source code for this library on GitHub."
9899
/>
99100
<LinkCard
100-
href="https://www.nuget.org/packages/Duende.IdentityModel.AspNetCore.OAuth2Introspection/"
101+
href="https://www.nuget.org/packages/Duende.AspNetCore.Authentication.OAuth2Introspection"
101102
title="NuGet Package"
102103
description="View the package on NuGet.org."
103104
/>
File renamed without changes.

0 commit comments

Comments
 (0)