Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

Duende.IdentityModel

OpenID Connect & OAuth 2.0 client library

Author Duende Software
Version 8.1.0
Tags OAuth2 OAuth 2.0 OpenID Connect Security Identity IdentityServer

Public Types

Duende.​IdentityModel

Compares two instances of Claim
class CryptoRandom
A class that mimics the standard Random class in the .NET Framework - but uses a random number generator internally.
class Identity
Helpers to create ClaimsIdentity
Commonly used claim types
class Principal
Helper class to create ClaimsPrincipal
Extensions for strings
Helper class to do equality checks without leaking timing information
class X509

Duende.​IdentityModel.​Client

<para>Implementation of <see cref="T:Duende.IdentityModel.Client.IAuthorityValidationStrategy" /> based on <see cref="T:System.Uri" /> equality. Trailing slash is also ignored.</para>
Request for token using authorization_code
Extensions for HttpRequestMessage
Models the response of an authorize request
Request for CIBA backchannel authentication
Models a CIBA backchannel authentication response
Request for token using urn:openid:params:grant-type:ciba grant type
Enum for specifying then encoding style of the basic authentication header
HTTP Basic Authentication authorization header
HTTP Basic Authentication authorization header for RFC6749 client authentication
Models a client assertion
Request for token using client_credentials
Specifies how the client will transmit client ID and secret
Base-class protocol client options
Request for device authorization
Models an OAuth device authorization response
Request for token using urn:ietf:params:oauth:grant-type:device_code
Helper for caching discovery documents.
Request for OpenID Connect discovery document
Represents the response from an OpenID Connect discovery endpoint.
Represents a discovery endpoint URL parsed into its authority and discovery endpoint components. This is commonly used to resolve URLs for OpenID Connect or OAuth2 discovery documents.
Security policy for retrieving a discovery document
Models an OpenID Connect dynamic client registration request.
Request for dynamic client registration
Models an OpenID Connect dynamic client registration response
HttpClient extensions CIBA backchannel authentication
HttpClient extensions for OIDC userinfo
HttpClient extentions for OIDC discovery
HttpClient extensions for dynamic registration
HttpClient extensions for OIDC discovery
HttpClient extensions for OIDC discovery
HttpClient extensions for OAuth token introspection
HttpClient extensions for OAuth token requests
HttpClient extensions for OAuth token revocation
HttpClient extensions for OIDC userinfo
Authority validation strategy.
interface IDiscoveryCache
Interface for discovery cache
Client library for the OAuth 2 introspection endpoint
Options for IntrospectionClient
Extensions for JObject
Request for JSON web key set document
Models a response from a JWK endpoint
Represents aliases for mutual TLS (mTLS) endpoints in an OpenID Connect discovery document. Provides access to specific mTLS-based endpoints such as token, revocation, and device authorization endpoints.
Specifies how parameter in the collection get replaced (or not).
class Parameters
Models a list of request parameters
Request for token using password
Models a base OAuth/OIDC request with client credentials
Well-known <see cref="T:System.Net.Http.HttpRequestOptionsKey`1" /> keys used by Duende IdentityModel when passing data through handler chains.
A protocol response
Models the parameters that can be pushed in a Pushed Authorization Request.
Models the response from a Pushed Authorization Request
Request for token using refresh_token
class RequestUrl
Helper class for creating request URLs
Extensions for RequestUrl
Various reasons for a protocol endpoint error
Specifies the format of the token introspection response.
Implementation of <see cref="T:Duende.IdentityModel.Client.IAuthorityValidationStrategy" /> based on <see cref="T:System.StringComparison" /> .
class TokenClient
Client library for the OpenID Connect / OAuth 2 token endpoint
Options for TokenClient
Request for token using urn:ietf:params:oauth:grant-type:token-exchange
Request for OAuth token introspection
Models an OAuth 2.0 introspection response as defined by <a href="https://datatracker.ietf.org/doc/html/rfc7662">RFC 7662 - OAuth 2.0 Token Introspection</a>
class TokenRequest
Request for token
Models a response from an OpenID Connect/OAuth 2 token endpoint
Request for OAuth token revocation
Models an OAuth 2.0 token revocation response
Request for OIDC userinfo
Models an OpenID Connect userinfo response

Duende.​IdentityModel.​Internal

class TaskHelpers
Helpers to deal with tasks.

Duende.​IdentityModel.​Jwk

Constants for JsonWebAlgorithms "kty" Key Type (sec 6.1) http://tools.ietf.org/html/rfc7518#section-6.1
class JsonWebKey
Represents a Json Web Key as defined in http://tools.ietf.org/html/rfc7517.
Extensions for JsonWebKey
Names for Json Web Key Values
Contains a collection of <see cref="T:Duende.IdentityModel.Jwk.JsonWebKey" /> that can be populated from a json string.

Duende.​IdentityModel.​Validation