Categorygithub.com/pardot/oidc
modulepackage
1.0.1
Repository: https://github.com/pardot/oidc.git
Documentation: pkg.go.dev

# README

oidc

Experimental OIDC/Webauthn server

# Packages

No description provided by the author
No description provided by the author
Package core is an library implementation of helpers for implementing the core OIDC specification (https://openid.net/specs/openid-connect-core-1_0.html).
Package discovery implements both a server handler and client side for interacting with the OIDC discovery mechanism.
Package e2e contains high-level smoke tests for this module.
No description provided by the author
Package oauth2 implements base primitives for parsing oauth2 messages and errors.
No description provided by the author
Package signer implemnts a common signing/verification interface for OIDC usage.
No description provided by the author

# Functions

AddScopes adds additional scopes to this URL only.
DiscoverClient will create a client based on the OIDC discovery of the given issuer.
No description provided by the author
NewClient creates a client directly from the passed in information.
No description provided by the author
NewUnixTime creates a UnixTime from the given Time, t.
No description provided by the author
SetNonce sets the nonce for this request.
WithACRValues sets the ACR values to request.
WithAdditionalScopes will set the given scopes on all AuthCode requests.

# Constants

ScopeOfflineAccess requests a refresh token.

# Structs

Claims represents the set of JWT claims for the user.
No description provided by the author
HTTPError indicates a generic HTTP error occurred during an interaction.
No description provided by the author
Token encapsulates the data returned from the token endpoint.
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
TokenSource fetches OIDC tokens.

# Type aliases

Audience represents a OIDC ID Token's Audience field.
AuthCodeOption can be used to modify the auth code URL that is generated.
ClientOpt can be used to customize the client nolint:golint.
UnixTime represents the number representing the number of seconds from 1970-01-01T0:0:0Z as measured in UTC until the date/time.
No description provided by the author