MCPcopy Create free account

hub / github.com/zitadel/oidc / functions

Functions1,804 in github.com/zitadel/oidc

↓ 1 callersMethodCreateCookie
(name, value string)
pkg/http/cookie.go:118
↓ 1 callersFunctionCreateJWT
(ctx context.Context, issuer string, tokenRequest TokenRequest, exp time.Time, id string, client AccessTokenCl
pkg/op/token.go:145
↓ 1 callersFunctionCreateRouter
(o OpenIDProvider, interceptors ...HttpInterceptor)
pkg/op/op.go:126
↓ 1 callersMethodCreateSecureCookie
(r *http.Request, name, value string)
pkg/http/cookie.go:135
↓ 1 callersMethodCreateTokenExchangeRequest
CreateTokenExchangeRequest will be called after parsing and validating token exchange request. Stored request is not accessed later by op - so it is u
pkg/op/storage.go:106
↓ 1 callersMethodCrypto
()
pkg/op/token_revocation.go:16
↓ 1 callersMethodCrypto
()
pkg/op/auth_request.go:53
↓ 1 callersMethodCrypto
()
pkg/op/userinfo.go:15
↓ 1 callersMethodCrypto
()
pkg/op/token.go:14
↓ 1 callersMethodDecoder
()
pkg/op/token_revocation.go:15
↓ 1 callersMethodDecoder
()
pkg/op/auth_request.go:50
↓ 1 callersMethodDecoder
()
pkg/op/token_intospection.go:13
↓ 1 callersMethodDecoder
()
pkg/op/session.go:16
↓ 1 callersMethodDecoder
()
pkg/op/userinfo.go:14
↓ 1 callersMethodDecoder
()
pkg/op/client.go:133
↓ 1 callersMethodDecrypt
(s string)
pkg/op/crypto.go:103
↓ 1 callersFunctionDecryptBytesAES
(cipherText []byte, key string)
pkg/crypto/crypto.go:53
↓ 1 callersFunctionDefaultACRVerifier
DefaultACRVerifier implements `ACRVerifier` returning an error if none of the provided values matches the acr claim
pkg/oidc/verifier.go:101
↓ 1 callersFunctionDefaultISSVerifier
DefaultISSVerifier implements `ISSVerifier` returning an error if the iss claim doesn't match the expected issuer.
pkg/oidc/verifier.go:87
↓ 1 callersMethodDefaultLogoutRedirectURI
()
pkg/op/session.go:19
↓ 1 callersFunctionDeviceAccessToken
DeviceAccessToken attempts to obtain tokens from a Device Authorization, by means of polling as defined in RFC, section 3.3 and 3.4: https://www.rfc-e
pkg/client/rp/device.go:66
↓ 1 callersFunctionDeviceAuthorization
DeviceAuthorization starts a new Device Authorization flow as defined in RFC 8628, section 3.1 and 3.2: https://www.rfc-editor.org/rfc/rfc8628#section
pkg/client/rp/device.go:40
↓ 1 callersFunctionDeviceAuthorization
(w http.ResponseWriter, r *http.Request, o OpenIDProvider)
pkg/op/device.go:66
↓ 1 callersFunctionDeviceClient
DeviceClient creates a device client with Basic authentication.
example/server/storage/client.go:197
↓ 1 callersMethodDeviceToken
DeviceToken handles the OAuth 2.0 Device Authorization Grant It is called by the Token endpoint handler when grant_type has the value urn:ietf:params:
pkg/op/server.go:125
↓ 1 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
pkg/op/mock/discovery.mock.go:34
↓ 1 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
pkg/op/mock/key.mock.go:34
↓ 1 callersMethodEncrypt
(string)
pkg/op/crypto.go:12
↓ 1 callersMethodEncrypt
(s string)
pkg/op/crypto.go:99
↓ 1 callersFunctionEncryptBytesAES
(plainText []byte, key string)
pkg/crypto/crypto.go:23
↓ 1 callersFunctionEndSession
(w http.ResponseWriter, r *http.Request, ender SessionEnder)
pkg/op/session.go:30
↓ 1 callersMethodEndSession
EndSession handles the OpenID Connect RP-Initiated Logout. https://openid.net/specs/openid-connect-rpinitiated-1_0.html There are no response requirem
pkg/op/server.go:145
↓ 1 callersMethodEndpoints
()
pkg/op/server_legacy.go:21
↓ 1 callersMethodErrorHandler
ErrorHandler returns the handler used for callback errors
pkg/client/rp/relying_party.go:81
↓ 1 callersMethodExampleClientID
()
example/server/storage/user.go:40
↓ 1 callersFunctionExchange
Exchange performs a token exchange appropriate for the grant type
pkg/op/token_request.go:40
↓ 1 callersFunctionExchangeToken
ExchangeToken sends a token exchange request (rfc 8693) to te's token endpoint. SubjectToken and SubjectTokenType are required parameters.
pkg/client/tokenexchange/tokenexchange.go:105
↓ 1 callersFunctionExpectDecoder
(a op.Authorizer)
pkg/op/mock/authorizer.mock.impl.go:30
↓ 1 callersFunctionExpectEncoder
(a op.Authorizer)
pkg/op/mock/authorizer.mock.impl.go:35
↓ 1 callersFunctionExpectInvalidClientID
(s op.Storage)
pkg/op/mock/storage.mock.impl.go:51
↓ 1 callersFunctionExpectStorage
(a op.Authorizer, t *testing.T)
pkg/op/mock/authorizer.mock.impl.go:83
↓ 1 callersFunctionExpectValidClientID
(s op.Storage)
pkg/op/mock/storage.mock.impl.go:56
↓ 1 callersFunctionExpectVerifier
func ExpectSigner(a op.Authorizer, t *testing.T) { mockA := a.(*MockAuthorizer) mockA.EXPECT().Signer().DoAndReturn( func() op.Signer { return
pkg/op/mock/authorizer.mock.impl.go:49
↓ 1 callersFunctionGenerateAndStoreCodeChallenge
GenerateAndStoreCodeChallenge generates a PKCE code challenge and stores its verifier into a secure cookie
pkg/client/rp/relying_party.go:496
↓ 1 callersFunctionGenerateAndStoreCodeChallengeWithRequest
GenerateAndStoreCodeChallenge generates a PKCE code challenge and stores its verifier into a secure cookie
pkg/client/rp/relying_party.go:505
↓ 1 callersFunctionGenerateJWTProfileToken
(assertion *JWTProfileAssertionClaims)
pkg/oidc/token.go:349
↓ 1 callersMethodGetACR
()
pkg/op/auth_request.go:25
↓ 1 callersMethodGetAuthTime
()
pkg/op/token.go:195
↓ 1 callersMethodGetClientID
()
pkg/op/auth_request.go:29
↓ 1 callersMethodGetClientID
()
pkg/op/token_refresh.go:18
↓ 1 callersMethodGetDeviceAuthorizationByUserCode
GetDeviceAuthorizationByUserCode returns the current state of the device authorization flow, identified by the user code.
example/server/exampleop/device.go:23
↓ 1 callersMethodGetDeviceAuthorizationEndpoint
()
pkg/client/client.go:246
↓ 1 callersMethodGetDeviceAuthorizatonState
GetDeviceAuthorizatonState returns the current state of the device authorization flow in the database. The method is polled until the authorization is
pkg/op/storage.go:202
↓ 1 callersMethodGetEndSessionEndpoint
()
pkg/client/client.go:101
↓ 1 callersFunctionGetEndpoints
(discoveryConfig *oidc.DiscoveryConfiguration)
pkg/client/rp/relying_party.go:733
↓ 1 callersMethodGetExchangeSubjectTokenType
()
pkg/op/token_exchange.go:25
↓ 1 callersFunctionGetHashAlgorithm
(sigAlgorithm jose.SignatureAlgorithm)
pkg/crypto/hash.go:16
↓ 1 callersMethodGetKeyByIDAndClientID
(ctx context.Context, keyID, clientID string)
pkg/op/storage.go:137
↓ 1 callersMethodGetKeyByIDAndClientID
(ctx context.Context, keyID, clientID string)
pkg/op/verifier_jwt_profile.go:102
↓ 1 callersMethodGetNonce
()
pkg/op/auth_request.go:31
↓ 1 callersMethodGetPrivateClaimsFromRequest
(ctx context.Context, request TokenRequest, restrictedScopes []string)
pkg/op/storage.go:157
↓ 1 callersMethodGetPrivateClaimsFromTokenExchangeRequest
GetPrivateClaimsFromTokenExchangeRequest will be called during access token creation. Claims evaluation can be based on all validated request data ava
pkg/op/storage.go:110
↓ 1 callersMethodGetRevokeEndpoint
()
pkg/client/client.go:146
↓ 1 callersMethodGetRevokeEndpoint
GetRevokeEndpoint returns the endpoint to revoke a specific token
pkg/client/rp/relying_party.go:68
↓ 1 callersMethodGetScopes
()
pkg/op/token_refresh.go:19
↓ 1 callersMethodGetScopes
()
pkg/op/token_exchange.go:20
↓ 1 callersMethodGetState
()
pkg/op/auth_request.go:36
↓ 1 callersMethodGetSubject
()
pkg/op/auth_request.go:37
↓ 1 callersMethodGetSubject
()
pkg/op/token_exchange.go:21
↓ 1 callersMethodGetUserInfo
()
pkg/oidc/token.go:170
↓ 1 callersMethodGrantTypeClientCredentialsSupported
()
pkg/op/token_request.go:22
↓ 1 callersMethodGrantTypeDeviceCodeSupported
()
pkg/op/token_request.go:23
↓ 1 callersMethodGrantTypeJWTAuthorizationSupported
()
pkg/op/token_request.go:21
↓ 1 callersMethodGrantTypeRefreshTokenSupported
()
pkg/op/token_request.go:19
↓ 1 callersMethodGrantTypeTokenExchangeSupported
()
pkg/op/token_request.go:20
↓ 1 callersMethodGrantTypes
()
pkg/op/client.go:42
↓ 1 callersMethodHealth
Health returns a status of "ok" once the Server is listening. The recommended Response Data type is [Status].
pkg/op/server.go:35
↓ 1 callersMethodHttpClient
()
pkg/client/rs/resource_server.go:17
↓ 1 callersMethodIDTokenHintVerifier
(context.Context)
pkg/op/auth_request.go:52
↓ 1 callersMethodIDTokenHintVerifier
(context.Context)
pkg/op/session.go:18
↓ 1 callersMethodIDTokenUserinfoClaimsAssertion
()
pkg/op/client.go:50
↓ 1 callersFunctionIntrospect
(w http.ResponseWriter, r *http.Request, introspector Introspector)
pkg/op/token_intospection.go:30
↓ 1 callersMethodIntrospect
Introspect handles the OAuth 2.0 Token Introspection endpoint. https://datatracker.ietf.org/doc/html/rfc7662 The recommended Response Data type is [oi
pkg/op/server.go:130
↓ 1 callersMethodIntrospectionURL
()
pkg/client/rs/resource_server.go:15
↓ 1 callersMethodIsOAuth2Only
IsOAuth2Only specifies whether relaying party handles only oauth2 or oidc calls
pkg/client/rp/relying_party.go:59
↓ 1 callersMethodIsSetClientAssertion
()
pkg/op/token_request.go:98
↓ 1 callersMethodIsSetClientIDAndClientSecret
()
pkg/op/token_request.go:99
↓ 1 callersFunctionJWTProfile
JWTProfile handles the OAuth 2.0 JWT Profile Authorization Grant https://tools.ietf.org/html/rfc7523#section-2.1
pkg/op/token_jwt_profile.go:18
↓ 1 callersMethodJWTProfile
JWTProfile handles the OAuth 2.0 JWT Profile Authorization Grant It is called by the Token endpoint handler when grant_type has the value urn:ietf:par
pkg/op/server.go:101
↓ 1 callersFunctionJWTProfileExchange
JWTProfileExchange handles the oauth2 jwt profile exchange
pkg/client/jwt_profile.go:14
↓ 1 callersMethodJWTProfileTokenType
(ctx context.Context, request TokenRequest)
pkg/op/storage.go:144
↓ 1 callersMethodJWTProfileVerifier
(context.Context)
pkg/op/token_revocation.go:25
↓ 1 callersMethodJWTProfileVerifier
(context.Context)
pkg/op/token_jwt_profile.go:14
↓ 1 callersMethodLogValue
()
pkg/oidc/authorization.go:102
↓ 1 callersMethodLogValue
()
pkg/oidc/error.go:263
↓ 1 callersMethodLogger
Logger returns the logger configured with [WithLogger], or [slog.Default] if none was set. Deprecated: configure logging with [slog.SetDefault].
pkg/client/rp/relying_party.go:85
↓ 1 callersMethodLogger
Logger returns the logger configured with [WithLogger], or [slog.Default] if none was set. Deprecated: configure logging with [slog.SetDefault].
pkg/client/rp/relying_party.go:196
↓ 1 callersMethodMarshalJSON
()
pkg/oidc/error.go:141
↓ 1 callersMethodMarshalText
()
pkg/oidc/types.go:215
↓ 1 callersFunctionMaxAgeToInternal
(maxAge *uint)
example/server/storage/oidc.go:137
← previousnext →501–600 of 1,804, ranked by callers