MCPcopy Create free account

hub / github.com/zitadel/oidc / functions

Functions1,804 in github.com/zitadel/oidc

↓ 5 callersFunctionCheckIssuerWithISSVerifier
(claims Claims, issuer string, issVerifier ISSVerifier)
pkg/oidc/verifier.go:142
↓ 5 callersFunctionClaimHash
(claim string, sigAlgorithm jose.SignatureAlgorithm)
pkg/oidc/token.go:331
↓ 5 callersFunctionCreateIDToken
(ctx context.Context, issuer string, request IDTokenRequest, validity time.Duration, accessToken, code string,
pkg/op/token.go:201
↓ 5 callersFunctionCreateTokenResponse
(ctx context.Context, request IDTokenRequest, client Client, creator TokenCreator, createAccessToken bool, cod
pkg/op/token.go:30
↓ 5 callersMethodCrypto
()
pkg/op/op.go:110
↓ 5 callersFunctionDiscover
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 callersMethodDone
()
pkg/op/auth_request.go:38
↓ 5 callersMethodEncrypt
(string)
pkg/op/crypto.go:19
↓ 5 callersMethodEndSessionEndpoint
()
pkg/op/config.go:30
↓ 5 callersFunctionFindMatchingKey
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 callersMethodGetResponseMode
()
pkg/op/auth_request.go:34
↓ 5 callersMethodGetSubject
()
pkg/op/token.go:18
↓ 5 callersMethodIDTokenHintVerifier
(context.Context)
pkg/op/op.go:108
↓ 5 callersFunctionJWKThumbprint
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 callersMethodKeySet
(context.Context)
pkg/op/keys.go:13
↓ 5 callersMethodKeysEndpoint
()
pkg/op/config.go:31
↓ 5 callersMethodLogLevel
()
pkg/oidc/error.go:252
↓ 5 callersMethodRedirectURIs
()
pkg/op/client.go:37
↓ 5 callersMethodRequestObjectSupported
()
pkg/op/config.go:48
↓ 5 callersMethodRevocationEndpoint
()
pkg/op/config.go:29
↓ 5 callersMethodSign
(random io.Reader, digest []byte, opts crypto.SignerOpts)
pkg/client/rp/key_binding.go:125
↓ 5 callersMethodString
()
pkg/op/applicationtype_enumer.go:187
↓ 5 callersMethodUse
()
pkg/op/signer.go:34
↓ 5 callersMethodUserinfoEndpoint
()
pkg/op/config.go:28
↓ 5 callersMethodVerify
(ctx context.Context, accessToken, idToken string)
pkg/op/mock/authorizer.mock.impl.go:59
↓ 4 callersMethodAccessTokenType
()
pkg/op/client.go:44
↓ 4 callersFunctionAuthorize
Authorize handles the authorization request, including parsing, validating, storing and finally redirecting to the login handler
pkg/op/auth_request.go:86
↓ 4 callersFunctionAuthorizeCallbackHandler
(authorizer Authorizer)
pkg/op/auth_request.go:78
↓ 4 callersFunctionCheckIssuedAt
(claims Claims, maxAgeIAT, offset time.Duration)
pkg/oidc/verifier.go:253
↓ 4 callersFunctionClientIDFromRequest
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 callersFunctionCodeExchangeHandler
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 callersFunctionCodeHash
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 callersFunctionDecryptToken
(tokenString string)
pkg/oidc/verifier.go:110
↓ 4 callersMethodDevMode
()
pkg/op/client.go:46
↓ 4 callersMethodDeviceAuthorizationEndpoint
()
pkg/op/config.go:32
↓ 4 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
pkg/op/mock/authorizer.mock.go:36
↓ 4 callersMethodGetRedirectURI
()
pkg/op/error.go:15
↓ 4 callersMethodGetSignatureAlgorithm
()
pkg/oidc/verifier.go:36
↓ 4 callersMethodHandler
(next http.Handler)
pkg/op/context.go:26
↓ 4 callersMethodIntrospectionEndpoint
()
pkg/op/config.go:27
↓ 4 callersFunctionNewIDTokenHintVerifier
(issuer string, keySet oidc.KeySet, opts ...IDTokenHintVerifierOpt)
pkg/op/verifier_id_token_hint.go:20
↓ 4 callersFunctionNewIssuerInterceptor
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 callersFunctionNewLegacyServer
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 callersFunctionNewRedirect
(url string)
pkg/op/server.go:245
↓ 4 callersFunctionNowTime
()
pkg/oidc/types.go:289
↓ 4 callersMethodSetUserInfo
(i *UserInfo)
pkg/oidc/token.go:158
↓ 4 callersMethodSignatureAlgorithm
()
pkg/op/signer.go:12
↓ 4 callersMethodStorage
()
pkg/op/auth_request.go:49
↓ 4 callersFunctionVerifyAccessToken
VerifyAccessToken validates the access token (issuer, signature and expiration).
pkg/op/verifier_access_token.go:32
↓ 4 callersFunctionVerifyIDTokenHint
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 callersFunctionWithIssuedAtOffset
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 callersFunctionWithPKCE
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 callersFunctionWithPromptURLParam
WithPromptURLParam sets the `prompt` parameter in a URL.
pkg/client/rp/relying_party.go:775
↓ 4 callersFunctionWithSupportedSigningAlgorithms
WithSupportedSigningAlgorithms overwrites the default RS256 signing algorithm
pkg/client/rp/verifier.go:186
↓ 4 callersFunctiongetTokenIDAndSubject
(ctx context.Context, userinfoProvider UserinfoProvider, accessToken string)
pkg/op/userinfo.go:91
↓ 4 callersFunctionkeyBindingHTTPClient
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 callersFunctionnewResourceServer
(ctx context.Context, issuer string, authorizer func() (any, error), options ...Option)
pkg/client/rs/resource_server.go:67
↓ 4 callersFunctionsetDefaultTestLogger
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 callersMethodsetUserinfo
setUserinfo sets the info based on the user, scopes and if necessary the clientID
example/server/storage/storage.go:662
↓ 3 callersMethodAppendClaims
(k string, v any)
pkg/oidc/userinfo.go:45
↓ 3 callersFunctionAuthCallbackURL
AuthCallbackURL builds the url for the redirect (with the requestID) after a successful login
pkg/op/op.go:152
↓ 3 callersFunctionAuthMethodsIntrospectionEndpoint
(c Configuration)
pkg/op/discovery.go:196
↓ 3 callersFunctionAuthMethodsRevocationEndpoint
(c Configuration)
pkg/op/discovery.go:213
↓ 3 callersFunctionAuthMethodsTokenEndpoint
(c Configuration)
pkg/op/discovery.go:168
↓ 3 callersMethodAuthRequestDone
(id string)
pkg/op/op_test.go:89
↓ 3 callersFunctionAuthorizeCodeChallenge
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 callersFunctionAuthorizePrivateJWTKey
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 callersFunctionBuildAuthResponseCodeResponsePayload
BuildAuthResponseCodeResponsePayload generates the authorization code response payload for the authentication request
pkg/op/auth_request.go:538
↓ 3 callersFunctionCheckAZPVerifier
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 callersFunctionCheckAudience
(claims Claims, clientID string)
pkg/oidc/verifier.go:149
↓ 3 callersFunctionCheckAuthTime
(claims Claims, maxAge time.Duration)
pkg/oidc/verifier.go:288
↓ 3 callersFunctionCheckAuthorizationContextClassReference
(claims Claims, acr ACRVerifier)
pkg/oidc/verifier.go:279
↓ 3 callersFunctionCheckDeviceAuthorizationState
(ctx context.Context, clientID, deviceCode string, exchanger Exchanger)
pkg/op/device.go:301
↓ 3 callersMethodCheckUsernamePassword
(ctx context.Context, username, password, id string)
example/server/dynamic/login.go:66
↓ 3 callersFunctionClientJWTAuth
(ctx context.Context, ca oidc.ClientAssertionParams, verifier ClientJWTProfile)
pkg/op/client.go:94
↓ 3 callersMethodClockSkew
()
pkg/op/token.go:25
↓ 3 callersFunctionCodeChallengeMethods
(c Configuration)
pkg/op/discovery.go:236
↓ 3 callersMethodCompleteDeviceAuthorization
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 callersFunctionConfigFromKeyFile
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 callersFunctionConfigFromKeyFileData
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 callersFunctionCreateDeviceTokenResponse
(ctx context.Context, tokenRequest TokenRequest, creator TokenCreator, client Client)
pkg/op/device.go:329
↓ 3 callersMethodEncoder
()
pkg/op/auth_request.go:51
↓ 3 callersMethodGetAuthTime
()
pkg/oidc/verifier.go:25
↓ 3 callersMethodGetAuthorizedParty
()
pkg/oidc/verifier.go:26
↓ 3 callersMethodGetID
()
pkg/op/auth_request.go:24
↓ 3 callersMethodGetIssuer
()
pkg/oidc/verifier.go:18
↓ 3 callersFunctionGetKeyIDAndAlg
GetKeyIDAndAlg returns the `kid` and `alg` claim from the JWS header
pkg/oidc/keyset.go:33
↓ 3 callersMethodGetRedirectURI
()
pkg/op/auth_request.go:32
↓ 3 callersMethodGetRefreshTokenInfo
GetRefreshTokenInfo must return ErrInvalidRefreshToken when presented with a token that is not a refresh token.
pkg/op/storage.go:65
↓ 3 callersMethodGetRequestedTokenType
()
pkg/op/token_exchange.go:22
↓ 3 callersMethodGetResponseType
()
pkg/op/auth_request.go:33
↓ 3 callersMethodGetResponseType
()
pkg/op/error.go:16
↓ 3 callersMethodGetSessionState
GetSessionState returns session_state. session_state is related to OpenID Connect Session Management.
pkg/op/auth_request.go:45
↓ 3 callersMethodGetState
()
pkg/op/error.go:17
↓ 3 callersMethodGrantTypeDeviceCodeSupported
()
pkg/op/config.go:43
↓ 3 callersMethodGrantTypeRefreshTokenSupported
()
pkg/op/config.go:39
↓ 3 callersMethodGrantTypeTokenExchangeSupported
()
pkg/op/config.go:40
↓ 3 callersFunctionGrantTypes
(c Configuration)
pkg/op/discovery.go:119
↓ 3 callersFunctionHTTPLoopbackOrLocalhost
(rawURL string)
pkg/op/auth_request.go:401
↓ 3 callersMethodID
()
pkg/op/signer.go:32
← previousnext →101–200 of 1,804, ranked by callers