MCPcopy Create free account

hub / github.com/zitadel/oidc / functions

Functions1,804 in github.com/zitadel/oidc

MethodIntrospect
(ctx context.Context, r *Request[IntrospectionRequest])
pkg/op/server_legacy.go:376
MethodIntrospectionAuthMethodPrivateKeyJWTSupported
()
pkg/op/op.go:398
MethodIntrospectionAuthMethodPrivateKeyJWTSupported
IntrospectionAuthMethodPrivateKeyJWTSupported mocks base method.
pkg/op/mock/configuration.mock.go:264
MethodIntrospectionAuthMethodPrivateKeyJWTSupported
IntrospectionAuthMethodPrivateKeyJWTSupported indicates an expected call of IntrospectionAuthMethodPrivateKeyJWTSupported.
pkg/op/mock/configuration.mock.go:272
MethodIntrospectionEndpoint
()
pkg/op/op.go:336
MethodIntrospectionEndpoint
IntrospectionEndpoint mocks base method.
pkg/op/mock/configuration.mock.go:278
MethodIntrospectionEndpoint
IntrospectionEndpoint indicates an expected call of IntrospectionEndpoint.
pkg/op/mock/configuration.mock.go:286
MethodIntrospectionEndpointSigningAlgorithmsSupported
()
pkg/op/op.go:402
MethodIntrospectionEndpointSigningAlgorithmsSupported
IntrospectionEndpointSigningAlgorithmsSupported mocks base method.
pkg/op/mock/configuration.mock.go:292
MethodIntrospectionEndpointSigningAlgorithmsSupported
IntrospectionEndpointSigningAlgorithmsSupported indicates an expected call of IntrospectionEndpointSigningAlgorithmsSupported.
pkg/op/mock/configuration.mock.go:300
MethodIntrospectionURL
()
pkg/client/rs/resource_server.go:29
MethodIs
(err error)
pkg/op/verifier_id_token_hint.go:39
MethodIsAAccessTokenType
IsAAccessTokenType returns "true" if the value is listed in the enum definition. "false" otherwise
pkg/op/applicationtype_enumer.go:242
MethodIsAApplicationType
IsAApplicationType returns "true" if the value is listed in the enum definition. "false" otherwise
pkg/op/applicationtype_enumer.go:79
MethodIsNotFound
()
pkg/op/storage.go:172
MethodIsOAuth2Only
()
pkg/client/rp/relying_party.go:149
MethodIsPKCE
()
pkg/client/rp/relying_party.go:137
MethodIsScopeAllowed
IsScopeAllowed enables Client specific custom scopes validation in this example we allow the CustomScope for all clients
example/server/storage/client.go:112
MethodIsScopeAllowed
(scope string)
pkg/op/server_http_test.go:165
MethodIsScopeAllowed
IsScopeAllowed mocks base method.
pkg/op/mock/client.mock.go:166
MethodIsScopeAllowed
IsScopeAllowed indicates an expected call of IsScopeAllowed.
pkg/op/mock/client.mock.go:174
MethodIsScopeAllowed
IsScopeAllowed mocks base method.
pkg/op/mock/glob.mock.go:166
MethodIsScopeAllowed
IsScopeAllowed indicates an expected call of IsScopeAllowed.
pkg/op/mock/glob.mock.go:174
MethodIsScopeAllowed
(scope string)
pkg/op/mock/storage.mock.impl.go:164
MethodIsSetClientAssertion
IsSetClientAssertion implements op.AuthenticatedTokenRequestAuthMethodChecker
pkg/oidc/token_request.go:98
MethodIsSetClientAssertion
IsSetClientAssertion implements op.AuthenticatedTokenRequestAuthMethodChecker
pkg/oidc/token_request.go:133
MethodIsSetClientIDAndClientSecret
IsSetClientIDAndClientSecret implements op.AuthenticatedTokenRequestAuthMethodChecker
pkg/oidc/token_request.go:103
MethodIsSetClientIDAndClientSecret
IsSetClientIDAndClientSecret implements op.AuthenticatedTokenRequestAuthMethodChecker
pkg/oidc/token_request.go:138
MethodIssuer
()
pkg/client/rp/relying_party.go:133
MethodIssuerFromRequest
(r *http.Request)
pkg/op/op.go:320
MethodIssuerFromRequest
(r *http.Request)
pkg/op/config.go:23
MethodIssuerFromRequest
IssuerFromRequest mocks base method.
pkg/op/mock/configuration.mock.go:306
MethodIssuerFromRequest
IssuerFromRequest indicates an expected call of IssuerFromRequest.
pkg/op/mock/configuration.mock.go:314
MethodJWTProfile
(ctx context.Context, r *Request[oidc.JWTProfileGrantRequest])
pkg/op/server.go:320
MethodJWTProfile
(ctx context.Context, r *Request[oidc.JWTProfileGrantRequest])
pkg/op/server_legacy.go:276
FunctionJWTProfileCustomClaim
(key string, value any)
pkg/oidc/token.go:291
FunctionJWTProfileDelegatedSubject
(sub string)
pkg/oidc/token.go:285
MethodJWTProfileVerifier
(context.Context)
pkg/op/token_intospection.go:21
MethodJWTProfileVerifier
(ctx context.Context)
pkg/op/op.go:459
MethodJWTProfileVerifier
(context.Context)
pkg/op/client_test.go:25
MethodKey
()
example/server/storage/storage.go:64
MethodKey
()
example/server/storage/storage.go:88
MethodKey
()
pkg/op/signer.go:13
MethodKey
Key mocks base method.
pkg/op/mock/signer.mock.go:52
MethodKey
Key indicates an expected call of Key.
pkg/op/mock/signer.mock.go:60
MethodKey
Key mocks base method.
pkg/op/mock/signer.mock.go:131
MethodKey
Key indicates an expected call of Key.
pkg/op/mock/signer.mock.go:139
MethodKeySet
KeySet implements the op.Storage interface it will be called to get the current (public) keys, among others for the keys_endpoint or for validating ac
example/server/storage/storage.go:417
MethodKeySet
KeySet implements the op.Storage interface it will be called to get the current (public) keys, among others for the keys_endpoint or for validating ac
example/server/storage/storage_dynamic.go:171
MethodKeySet
(context.Context)
pkg/op/storage.go:69
MethodKeySet
KeySet mocks base method.
pkg/op/mock/storage.mock.go:223
MethodKeySet
KeySet indicates an expected call of KeySet.
pkg/op/mock/storage.mock.go:232
MethodKeySet
KeySet mocks base method.
pkg/op/mock/key.mock.go:39
MethodKeySet
KeySet indicates an expected call of KeySet.
pkg/op/mock/key.mock.go:48
MethodKeys
Keys serves the JWK set which the client can use verify signatures from the op. https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMet
pkg/op/server.go:51
MethodKeys
(ctx context.Context, r *Request[struct{}])
pkg/op/server.go:289
MethodKeys
(ctx context.Context, r *Request[struct{}])
pkg/op/server_legacy.go:112
MethodKeysEndpoint
()
pkg/op/op.go:360
MethodKeysEndpoint
KeysEndpoint mocks base method.
pkg/op/mock/configuration.mock.go:320
MethodKeysEndpoint
KeysEndpoint indicates an expected call of KeysEndpoint.
pkg/op/mock/configuration.mock.go:328
MethodLogValue
LogValue allows you to define which fields will be logged. Implements the [slog.LogValuer]
example/server/storage/oidc.go:48
MethodLogger
Deprecated: configure logging with slog.SetDefault.
pkg/op/auth_request.go:56
MethodLogger
Deprecated: configure logging with slog.SetDefault.
pkg/op/op.go:114
MethodLogger
Logger returns the global default logger. Deprecated: configure logging with [slog.SetDefault].
pkg/op/op.go:487
MethodLogger
Deprecated: configure logging with slog.SetDefault.
pkg/op/session.go:21
MethodLogger
Deprecated: configure logging with slog.SetDefault.
pkg/op/token_request.go:27
MethodLogger
Logger mocks base method.
pkg/op/mock/authorizer.mock.go:97
MethodLogger
Logger indicates an expected call of Logger.
pkg/op/mock/authorizer.mock.go:105
MethodLoginURL
LoginURL will be called to redirect the user (agent) to the login UI you could implement some logic here to redirect the users to different login UIs
example/server/storage/client.go:77
MethodLoginURL
(id string)
pkg/op/server_http_test.go:109
MethodLoginURL
LoginURL mocks base method.
pkg/op/mock/client.mock.go:180
MethodLoginURL
LoginURL indicates an expected call of LoginURL.
pkg/op/mock/client.mock.go:188
MethodLoginURL
LoginURL mocks base method.
pkg/op/mock/glob.mock.go:180
MethodLoginURL
LoginURL indicates an expected call of LoginURL.
pkg/op/mock/glob.mock.go:188
MethodLoginURL
(id string)
pkg/op/mock/storage.mock.impl.go:108
MethodMarshalGQL
MarshalGQL implements the graphql.Marshaler interface for ApplicationType
pkg/op/applicationtype_enumer.go:165
MethodMarshalGQL
MarshalGQL implements the graphql.Marshaler interface for AccessTokenType
pkg/op/applicationtype_enumer.go:328
FunctionMarshalJSON
(w http.ResponseWriter, i any)
pkg/http/marshal.go:11
MethodMarshalJSON
MarshalJSON implements the json.Marshaler interface for AccessTokenType
pkg/op/applicationtype_enumer.go:252
MethodMarshalJSON
()
pkg/oidc/util_test.go:13
MethodMarshalJSON
()
pkg/oidc/introspection.go:70
MethodMarshalJSON
()
pkg/oidc/types.go:96
MethodMarshalJSON
()
pkg/oidc/types.go:219
MethodMarshalJSON
()
pkg/oidc/userinfo.go:69
MethodMarshalJSON
()
pkg/oidc/token_request.go:153
MethodMarshalJSON
()
pkg/oidc/token.go:128
MethodMarshalJSON
()
pkg/oidc/token.go:202
MethodMarshalJSON
()
pkg/oidc/token.go:224
MethodMarshalJSON
()
pkg/oidc/token.go:256
MethodMarshalJSON
()
pkg/oidc/token.go:401
MethodMarshalText
MarshalText implements the encoding.TextMarshaler interface for ApplicationType
pkg/op/applicationtype_enumer.go:106
MethodMarshalText
MarshalText implements the encoding.TextMarshaler interface for AccessTokenType
pkg/op/applicationtype_enumer.go:269
MethodMarshalYAML
MarshalYAML implements a YAML Marshaler for ApplicationType
pkg/op/applicationtype_enumer.go:118
MethodMarshalYAML
MarshalYAML implements a YAML Marshaler for AccessTokenType
pkg/op/applicationtype_enumer.go:281
FunctionNewAuthorizerExpectValid
(t *testing.T, wantErr bool)
pkg/op/mock/authorizer.mock.impl.go:19
FunctionNewForwardedOpenIDProvider
NewForwardedOpenIDProvider tries to establish the Issuer from a Forwarded request header, if it is set. See [IssuerFromForwardedOrHost] for details.
pkg/op/op.go:230
FunctionNewJWTProfileAssertionFromKeyJSON
(filename string, audience []string, opts ...AssertionOption)
pkg/oidc/token.go:264
FunctionNewJWTProfileAssertionStringFromFileData
(data []byte, audience []string, opts ...AssertionOption)
pkg/oidc/token.go:272
FunctionNewJWTProfileVerifierKeySet
NewJWTProfileVerifierKeySet creates an oidc.Verifier for JWT Profile assertions (authorization grant and client authentication)
pkg/op/verifier_jwt_profile.go:29
FunctionNewMockSigningKey
NewMockSigningKey creates a new mock instance.
pkg/op/mock/signer.mock.go:26
← previousnext →1,201–1,300 of 1,804, ranked by callers