Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/zitadel/oidc
/ functions
Functions
1,804 in github.com/zitadel/oidc
⨍
Functions
1,804
◇
Types & classes
360
↓ 5 callers
Function
CheckIssuerWithISSVerifier
(claims Claims, issuer string, issVerifier ISSVerifier)
pkg/oidc/verifier.go:142
↓ 5 callers
Function
ClaimHash
(claim string, sigAlgorithm jose.SignatureAlgorithm)
pkg/oidc/token.go:331
↓ 5 callers
Function
CreateIDToken
(ctx context.Context, issuer string, request IDTokenRequest, validity time.Duration, accessToken, code string,
pkg/op/token.go:201
↓ 5 callers
Function
CreateTokenResponse
(ctx context.Context, request IDTokenRequest, client Client, creator TokenCreator, createAccessToken bool, cod
pkg/op/token.go:30
↓ 5 callers
Method
Crypto
()
pkg/op/op.go:110
↓ 5 callers
Function
Discover
Discover calls the discovery endpoint of the provided issuer and returns its configuration It accepts an optional argument "wellknownUrl" which can be
pkg/client/client.go:39
↓ 5 callers
Method
Done
()
pkg/op/auth_request.go:38
↓ 5 callers
Method
Encrypt
(string)
pkg/op/crypto.go:19
↓ 5 callers
Method
EndSessionEndpoint
()
pkg/op/config.go:30
↓ 5 callers
Function
FindMatchingKey
FindMatchingKey searches the given JSON Web Keys for the requested key ID, usage and alg type will return the key immediately if matches exact (id, u
pkg/oidc/keyset.go:62
↓ 5 callers
Method
GetResponseMode
()
pkg/op/auth_request.go:34
↓ 5 callers
Method
GetSubject
()
pkg/op/token.go:18
↓ 5 callers
Method
IDTokenHintVerifier
(context.Context)
pkg/op/op.go:108
↓ 5 callers
Function
JWKThumbprint
JWKThumbprint returns the RFC 7638 SHA-256 thumbprint of jwk, encoded with unpadded base64url. Experimental: OpenID Connect Key Binding 1.0 is a draf
pkg/oidc/dpop.go:110
↓ 5 callers
Method
KeySet
(context.Context)
pkg/op/keys.go:13
↓ 5 callers
Method
KeysEndpoint
()
pkg/op/config.go:31
↓ 5 callers
Method
LogLevel
()
pkg/oidc/error.go:252
↓ 5 callers
Method
RedirectURIs
()
pkg/op/client.go:37
↓ 5 callers
Method
RequestObjectSupported
()
pkg/op/config.go:48
↓ 5 callers
Method
RevocationEndpoint
()
pkg/op/config.go:29
↓ 5 callers
Method
Sign
(random io.Reader, digest []byte, opts crypto.SignerOpts)
pkg/client/rp/key_binding.go:125
↓ 5 callers
Method
String
()
pkg/op/applicationtype_enumer.go:187
↓ 5 callers
Method
Use
()
pkg/op/signer.go:34
↓ 5 callers
Method
UserinfoEndpoint
()
pkg/op/config.go:28
↓ 5 callers
Method
Verify
(ctx context.Context, accessToken, idToken string)
pkg/op/mock/authorizer.mock.impl.go:59
↓ 4 callers
Method
AccessTokenType
()
pkg/op/client.go:44
↓ 4 callers
Function
Authorize
Authorize handles the authorization request, including parsing, validating, storing and finally redirecting to the login handler
pkg/op/auth_request.go:86
↓ 4 callers
Function
AuthorizeCallbackHandler
(authorizer Authorizer)
pkg/op/auth_request.go:78
↓ 4 callers
Function
CheckIssuedAt
(claims Claims, maxAgeIAT, offset time.Duration)
pkg/oidc/verifier.go:253
↓ 4 callers
Function
ClientIDFromRequest
ClientIDFromRequest parses the request form and tries to obtain the client ID and reports if it is authenticated, using a JWT or static client secrets
pkg/op/client.go:155
↓ 4 callers
Function
CodeExchangeHandler
CodeExchangeHandler extends the `CodeExchange` method with an http handler including cookie handling for secure `state` transfer and optional PKCE cod
pkg/client/rp/relying_party.go:598
↓ 4 callers
Function
CodeHash
CodeHash returns the c_s256 value for an authorization or device code. Experimental: OpenID Connect Key Binding 1.0 is a draft standard. This API may
pkg/oidc/dpop.go:147
↓ 4 callers
Function
DecryptToken
(tokenString string)
pkg/oidc/verifier.go:110
↓ 4 callers
Method
DevMode
()
pkg/op/client.go:46
↓ 4 callers
Method
DeviceAuthorizationEndpoint
()
pkg/op/config.go:32
↓ 4 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
pkg/op/mock/authorizer.mock.go:36
↓ 4 callers
Method
GetRedirectURI
()
pkg/op/error.go:15
↓ 4 callers
Method
GetSignatureAlgorithm
()
pkg/oidc/verifier.go:36
↓ 4 callers
Method
Handler
(next http.Handler)
pkg/op/context.go:26
↓ 4 callers
Method
IntrospectionEndpoint
()
pkg/op/config.go:27
↓ 4 callers
Function
NewIDTokenHintVerifier
(issuer string, keySet oidc.KeySet, opts ...IDTokenHintVerifierOpt)
pkg/op/verifier_id_token_hint.go:20
↓ 4 callers
Function
NewIssuerInterceptor
NewIssuerInterceptor will set the issuer into the context by the provided IssuerFromRequest (e.g. returned from StaticIssuer or IssuerFromHost)
pkg/op/context.go:20
↓ 4 callers
Function
NewLegacyServer
NewLegacyServer wraps provider in a `Server` implementation Only non-nil endpoints will be registered on the router. Nil endpoints are disabled. The
pkg/op/server_legacy.go:64
↓ 4 callers
Function
NewRedirect
(url string)
pkg/op/server.go:245
↓ 4 callers
Function
NowTime
()
pkg/oidc/types.go:289
↓ 4 callers
Method
SetUserInfo
(i *UserInfo)
pkg/oidc/token.go:158
↓ 4 callers
Method
SignatureAlgorithm
()
pkg/op/signer.go:12
↓ 4 callers
Method
Storage
()
pkg/op/auth_request.go:49
↓ 4 callers
Function
VerifyAccessToken
VerifyAccessToken validates the access token (issuer, signature and expiration).
pkg/op/verifier_access_token.go:32
↓ 4 callers
Function
VerifyIDTokenHint
VerifyIDTokenHint validates the id token according to https://openid.net/specs/openid-connect-core-1_0.html#IDTokenValidation. In case of an expired t
pkg/op/verifier_id_token_hint.go:48
↓ 4 callers
Function
WithIssuedAtOffset
WithIssuedAtOffset mitigates the risk of iat to be in the future because of clock skews with the ability to add an offset to the current time
pkg/client/rp/verifier.go:144
↓ 4 callers
Function
WithPKCE
WithPKCE sets the RP to use PKCE (oauth2 code challenge) it also sets a `CookieHandler` for securing the various redirects and exchanging the code cha
pkg/client/rp/relying_party.go:319
↓ 4 callers
Function
WithPromptURLParam
WithPromptURLParam sets the `prompt` parameter in a URL.
pkg/client/rp/relying_party.go:775
↓ 4 callers
Function
WithSupportedSigningAlgorithms
WithSupportedSigningAlgorithms overwrites the default RS256 signing algorithm
pkg/client/rp/verifier.go:186
↓ 4 callers
Function
getTokenIDAndSubject
(ctx context.Context, userinfoProvider UserinfoProvider, accessToken string)
pkg/op/userinfo.go:91
↓ 4 callers
Function
keyBindingHTTPClient
keyBindingHTTPClient returns a shallow copy of client whose transport adds a DPoP proof to a single token-endpoint request. tokenEndpoint pins the onl
pkg/client/rp/key_binding.go:318
↓ 4 callers
Function
newResourceServer
(ctx context.Context, issuer string, authorizer func() (any, error), options ...Option)
pkg/client/rs/resource_server.go:67
↓ 4 callers
Function
setDefaultTestLogger
setDefaultTestLogger installs a process-wide default logger for the duration of t. Do not use with t.Parallel(): slog.SetDefault is global and races a
pkg/op/error_test.go:22
↓ 4 callers
Method
setUserinfo
setUserinfo sets the info based on the user, scopes and if necessary the clientID
example/server/storage/storage.go:662
↓ 3 callers
Method
AppendClaims
(k string, v any)
pkg/oidc/userinfo.go:45
↓ 3 callers
Function
AuthCallbackURL
AuthCallbackURL builds the url for the redirect (with the requestID) after a successful login
pkg/op/op.go:152
↓ 3 callers
Function
AuthMethodsIntrospectionEndpoint
(c Configuration)
pkg/op/discovery.go:196
↓ 3 callers
Function
AuthMethodsRevocationEndpoint
(c Configuration)
pkg/op/discovery.go:213
↓ 3 callers
Function
AuthMethodsTokenEndpoint
(c Configuration)
pkg/op/discovery.go:168
↓ 3 callers
Method
AuthRequestDone
(id string)
pkg/op/op_test.go:89
↓ 3 callers
Function
AuthorizeCodeChallenge
AuthorizeCodeChallenge authorizes a client by validating the code_verifier against the previously sent code_challenge of the auth request (PKCE)
pkg/op/token_request.go:168
↓ 3 callers
Function
AuthorizePrivateJWTKey
AuthorizePrivateJWTKey authorizes a client by validating the client_assertion's signature with a previously registered public key (JWT Profile)
pkg/op/token_request.go:188
↓ 3 callers
Function
BuildAuthResponseCodeResponsePayload
BuildAuthResponseCodeResponsePayload generates the authorization code response payload for the authentication request
pkg/op/auth_request.go:538
↓ 3 callers
Function
CheckAZPVerifier
CheckAZPVerifier checks azp (authorized party) claim requirements. If the ID Token contains multiple audiences, the Client SHOULD verify that an azp
pkg/oidc/verifier.go:186
↓ 3 callers
Function
CheckAudience
(claims Claims, clientID string)
pkg/oidc/verifier.go:149
↓ 3 callers
Function
CheckAuthTime
(claims Claims, maxAge time.Duration)
pkg/oidc/verifier.go:288
↓ 3 callers
Function
CheckAuthorizationContextClassReference
(claims Claims, acr ACRVerifier)
pkg/oidc/verifier.go:279
↓ 3 callers
Function
CheckDeviceAuthorizationState
(ctx context.Context, clientID, deviceCode string, exchanger Exchanger)
pkg/op/device.go:301
↓ 3 callers
Method
CheckUsernamePassword
(ctx context.Context, username, password, id string)
example/server/dynamic/login.go:66
↓ 3 callers
Function
ClientJWTAuth
(ctx context.Context, ca oidc.ClientAssertionParams, verifier ClientJWTProfile)
pkg/op/client.go:94
↓ 3 callers
Method
ClockSkew
()
pkg/op/token.go:25
↓ 3 callers
Function
CodeChallengeMethods
(c Configuration)
pkg/op/discovery.go:236
↓ 3 callers
Method
CompleteDeviceAuthorization
CompleteDeviceAuthorization marks a device authorization entry as Completed, identified by userCode. The Subject is added to the state, so that GetDev
example/server/exampleop/device.go:28
↓ 3 callers
Function
ConfigFromKeyFile
Deprecated: use [github.com/zitadel/zitadel-go/v3/pkg/client.ConfigFromKeyFile] instead. The type will be removed in the next major release.
pkg/client/key.go:30
↓ 3 callers
Function
ConfigFromKeyFileData
Deprecated: use [github.com/zitadel/zitadel-go/v3/pkg/client.ConfigFromKeyFileData] instead. The type will be removed in the next major release.
pkg/client/key.go:40
↓ 3 callers
Function
CreateDeviceTokenResponse
(ctx context.Context, tokenRequest TokenRequest, creator TokenCreator, client Client)
pkg/op/device.go:329
↓ 3 callers
Method
Encoder
()
pkg/op/auth_request.go:51
↓ 3 callers
Method
GetAuthTime
()
pkg/oidc/verifier.go:25
↓ 3 callers
Method
GetAuthorizedParty
()
pkg/oidc/verifier.go:26
↓ 3 callers
Method
GetID
()
pkg/op/auth_request.go:24
↓ 3 callers
Method
GetIssuer
()
pkg/oidc/verifier.go:18
↓ 3 callers
Function
GetKeyIDAndAlg
GetKeyIDAndAlg returns the `kid` and `alg` claim from the JWS header
pkg/oidc/keyset.go:33
↓ 3 callers
Method
GetRedirectURI
()
pkg/op/auth_request.go:32
↓ 3 callers
Method
GetRefreshTokenInfo
GetRefreshTokenInfo must return ErrInvalidRefreshToken when presented with a token that is not a refresh token.
pkg/op/storage.go:65
↓ 3 callers
Method
GetRequestedTokenType
()
pkg/op/token_exchange.go:22
↓ 3 callers
Method
GetResponseType
()
pkg/op/auth_request.go:33
↓ 3 callers
Method
GetResponseType
()
pkg/op/error.go:16
↓ 3 callers
Method
GetSessionState
GetSessionState returns session_state. session_state is related to OpenID Connect Session Management.
pkg/op/auth_request.go:45
↓ 3 callers
Method
GetState
()
pkg/op/error.go:17
↓ 3 callers
Method
GrantTypeDeviceCodeSupported
()
pkg/op/config.go:43
↓ 3 callers
Method
GrantTypeRefreshTokenSupported
()
pkg/op/config.go:39
↓ 3 callers
Method
GrantTypeTokenExchangeSupported
()
pkg/op/config.go:40
↓ 3 callers
Function
GrantTypes
(c Configuration)
pkg/op/discovery.go:119
↓ 3 callers
Function
HTTPLoopbackOrLocalhost
(rawURL string)
pkg/op/auth_request.go:401
↓ 3 callers
Method
ID
()
pkg/op/signer.go:32
← previous
next →
101–200 of 1,804, ranked by callers