MCPcopy Create free account

hub / github.com/panva/openid-client / functions

Functions168 in github.com/panva/openid-client

↓ 94 callersFunctiontest
()
tap/run-workerd.ts:5
↓ 43 callersFunctionint
(config: Configuration)
src/index.ts:46
↓ 39 callersFunctionclose
(server: http.Server)
test/passport.test.ts:12
↓ 39 callersFunctionstartTokenEndpoint
( tokenResponse?: () => { status: number body: unknown headers?: Record<string, string> }, o
test/passport.test.ts:24
↓ 37 callersFunctionrejects
( metaUrl: string, expected: runner.CodeErrorAssertion | runner.MessageErrorAssertion, cause?: runner.Co
conformance/modules/run.ts:15
↓ 33 callersFunctioncreateStrategyHarness
( port: number, verify?: ( tokens: client.TokenEndpointResponse & client.TokenEndpointResponseHelpers,
test/passport.test.ts:136
↓ 31 callersFunctiondoAuthorizationRequest
( harness: HarnessResult, options: AuthenticateOptions = {}, )
test/passport.test.ts:181
↓ 30 callersFunctionoptions
( ...flags: Array< | 'jarm' | 'par' | 'jar' | 'dpop' | 'jwtUserinfo' |
tap/end2end.ts:21
↓ 26 callersFunctioncreateConfiguration
( port: number, metadataOverrides?: Record<string, unknown>, )
test/passport.test.ts:98
↓ 23 callersFunctionCodedTypeError
(message: string, code: codes, cause?: unknown)
src/index.ts:866
↓ 22 callersFunctioncheckConfig
(input: unknown)
src/index.ts:4097
↓ 22 callersFunctione
(msg: string, cause: unknown, code?: string)
src/index.ts:938
↓ 19 callersMethodserverMetadata
* Used to retrieve the Authorization Server Metadata
src/index.ts:1750
↓ 18 callersFunctionpass
(metaUrl: string, options?: runner.MacroOptions)
conformance/modules/run.ts:3
↓ 16 callersFunctionsignal
(timeout?: number)
src/index.ts:4113
↓ 15 callersFunctionerrorHandler
(err: unknown)
src/index.ts:942
↓ 12 callersMethodauthorizationCodeGrant
* @private * * @internal
src/passport.ts:533
↓ 11 callersFunctiondoAuthorizationCodeGrant
( harness: HarnessResult, callbackUrl: string, options: AuthenticateOptions = {}, method = 'GET', )
test/passport.test.ts:193
↓ 11 callersMethodsupportsPKCE
* Determines whether the Authorization Server supports a given Code Challenge * Method * * @param method Code Challenge Method. Default is `S
src/index.ts:1706
↓ 10 callersFunctioncreateConfig
(agent: undici.MockAgent)
test/retry-after.test.ts:16
↓ 10 callersFunctionretryable
(err: unknown, options: DPoPOptions | undefined)
src/index.ts:4185
↓ 10 callersFunctionsetupMockAgent
()
test/retry-after.test.ts:7
↓ 9 callersFunctionnonRepudiation
(plan: Plan)
conformance/runner.ts:106
↓ 8 callersFunctiondcr
(variant: Record<string, string>)
conformance/runner.ts:152
↓ 8 callersFunctionlogBoth
(input: string)
conformance/ava.config.ts:234
↓ 8 callersFunctionrandom
()
tap/helper.ts:5
↓ 7 callersMethodcurrentUrl
* [Strategy method] Return the current request URL. * * This method is intended to be overloaded if its return value does not match * the act
src/passport.ts:658
↓ 6 callersFunctionaddHelpers
( response: oauth.TokenEndpointResponse, )
src/index.ts:2046
↓ 6 callersMethodclaims
* Returns the parsed JWT Claims Set of an * {@link TokenEndpointResponse.id_token id_token} returned by the * authorization server * * > [
src/index.ts:1993
↓ 6 callersFunctionheaders
(headers?: Record<string, string>)
conformance/api.ts:41
↓ 6 callersFunctionretryPoll
(updatedInterval: number, flag?: typeof retry)
src/index.ts:2264
↓ 6 callersMethodshouldInitiateAuthRequest
* [Strategy method] Determine whether to initiate an authorization request. * * This method is intended to be overloaded if custom logic for det
src/passport.ts:682
↓ 6 callersMethodtimeout
* @ignore
src/index.ts:1953
↓ 6 callersFunctionurl
(pathname: string, search?: Record<string, string>)
conformance/api.ts:35
↓ 4 callersFunctionbuildAuthorizationUrl
( config: Configuration, parameters: URLSearchParams | Record<string, string>, )
src/index.ts:3768
↓ 4 callersFunctioncreateSignalTrackingConfig
()
test/retry-after.test.ts:33
↓ 4 callersFunctiongetScope
(variant: Record<string, string>)
conformance/ava.config.ts:114
↓ 4 callersFunctionhandleRetryAfter
* Gets the retry-after header and if it indicates a needed wait longer than the * current interval, it waits for the (needed wait - current interval)
src/index.ts:2103
↓ 4 callersFunctionoptions
( authMethod: string, ...flags: Array<'dpop' | 'jwtIntrospection' | 'encryption'> )
tap/end2end-client-credentials.ts:30
↓ 4 callersFunctionsetup
( kp: CryptoKeyPair, authMethod: string, jar: boolean, jwtUserinfo: boolean, jwtIntrospection: boole
tap/helper.ts:9
↓ 4 callersFunctionskippable
(metaUrl: string, options?: runner.MacroOptions)
conformance/modules/run.ts:9
↓ 4 callersFunctionwaitForState
( test: Test, { interval = 150, timeout = 60_000, states = new Set(['FINISHED']), results
conformance/api.ts:149
↓ 3 callersFunctionassertString
(input: unknown, it: string)
src/index.ts:178
↓ 3 callersFunctionisEngine
(engine: string)
tap/env.ts:32
↓ 3 callersFunctionmakePublicJwks
(def: any)
conformance/ava.config.ts:126
↓ 3 callersFunctionsetResource
(params: URLSearchParams, resource: string | string[])
src/passport.ts:188
↓ 3 callersFunctionwait
* Waits for a given duration or until an AbortSignal gets aborted
src/index.ts:2141
↓ 2 callersFunctionassertError
( t: ExecutionContext, actual: unknown, expected: Partial<ErrorAssertion>, )
conformance/runner.ts:549
↓ 2 callersMethodauthenticate
* [Passport method] Authenticate the request.
src/passport.ts:699
↓ 2 callersFunctioncheckEcdhAlg
(algs: Set<string>, alg: unknown, pk: unknown)
src/index.ts:1455
↓ 2 callersMethodclientMetadata
* Used to retrieve the Client Metadata
src/index.ts:1754
↓ 2 callersFunctionflow
(options?: MacroOptions)
conformance/runner.ts:161
↓ 2 callersFunctiongetTestExposed
( test: Test, )
conformance/api.ts:82
↓ 2 callersFunctionimportPrivateKey
(alg: string, jwk: JWK)
conformance/runner.ts:66
↓ 2 callersFunctionkey
(alg: string)
conformance/ava.config.ts:40
↓ 2 callersFunctionperformDiscovery
( server: URL, options?: DiscoveryRequestOptions, )
src/index.ts:1370
↓ 2 callersFunctionpollRequestSignal
( pollingSignal: AbortSignal, timeout?: number, )
src/index.ts:2164
↓ 2 callersFunctionresponseType
(planName: string, variant: Record<string, string>)
conformance/runner.ts:140
↓ 2 callersFunctionsetAuthorizationDetails
( params: URLSearchParams, authorizationDetails: | client.AuthorizationDetails | client.Authorizat
src/passport.ts:198
↓ 2 callersFunctionvalidateCodeIdTokenResponse
( config: Configuration, authorizationResponse: URL | Request, expectedNonce: string | undefined, expe
src/index.ts:3528
↓ 1 callersFunctionClientSecretPost
(clientSecret?: string)
src/index.ts:160
↓ 1 callersFunctionNone
()
src/index.ts:368
↓ 1 callersFunctionaddServerHelpers
( metadata: Readonly<ServerMetadata>, )
src/index.ts:1722
↓ 1 callersMethodauthorizationCodeGrantParameters
* [Strategy method] Return additional token endpoint request parameters. * * This method is intended to be overloaded if additional parameters t
src/passport.ts:395
↓ 1 callersMethodauthorizationRequestParams
* [Strategy method] Return additional authorization request parameters. * * This method is intended to be overloaded if additional parameters ne
src/passport.ts:339
↓ 1 callersFunctioncheckCryptoKey
(key: CryptoKey, alg: string, epk: unknown)
src/index.ts:1612
↓ 1 callersFunctioncreateTestFromPlan
( plan: Plan, module: ModulePrescription, )
conformance/api.ts:99
↓ 1 callersFunctiondecrypt
( keys: DecryptionKey[], jwe: string, contentEncryptionAlgorithms: string[], keyManagementAlgorithms:
src/index.ts:1673
↓ 1 callersFunctiondownloadArtifact
(plan: Plan)
conformance/api.ts:137
↓ 1 callersFunctionensureTestFile
(path: string, name: string)
conformance/ava.config.ts:151
↓ 1 callersFunctiongetHelpers
(response: oauth.TokenEndpointResponse)
src/index.ts:2009
↓ 1 callersFunctiongetModuleInfo
(module: Test)
conformance/api.ts:125
↓ 1 callersFunctiongetServerHelpers
(metadata: Readonly<ServerMetadata>)
src/index.ts:1709
↓ 1 callersFunctionhandleB2Clogin
(server: URL, options?: DiscoveryRequestOptions)
src/index.ts:1127
↓ 1 callersFunctionhandleEntraId
( server: URL, as: oauth.AuthorizationServer, options?: DiscoveryRequestOptions, )
src/index.ts:1110
↓ 1 callersFunctionhost
* Taken from express@5 req.host implementation to get around the fact that * req.host in express@4 is not the host but hostname. Catches errors stemm
src/passport.ts:217
↓ 1 callersFunctionisEcdh
(input: KeyAlgorithm)
src/index.ts:1447
↓ 1 callersFunctionisRsaOaep
(input: KeyAlgorithm)
src/index.ts:1443
↓ 1 callersFunctionkid
(jwk: jose.JWK)
conformance/ava.config.ts:33
↓ 1 callersFunctionlabel
(testCase: Record<string, boolean>)
tap/end2end.ts:7
↓ 1 callersFunctionlabel
(testCase: Record<string, string | boolean>)
tap/end2end-client-credentials.ts:7
↓ 1 callersFunctionlogToActions
(content: string)
conformance/ava.config.ts:118
↓ 1 callersFunctionmodules
(metaUrl: string)
conformance/runner.ts:74
↓ 1 callersFunctionneedsClientCertificate
( planName: string, variant: Record<string, string>, )
conformance/ava.config.ts:103
↓ 1 callersFunctionneedsSecret
(variant: Record<string, string>)
conformance/ava.config.ts:49
↓ 1 callersFunctionparseUserAgent
()
tap/env.ts:26
↓ 1 callersFunctionpollBackchannelAuthenticationGrant
( config: Configuration, backchannelAuthenticationResponse: oauth.BackchannelAuthenticationResponse, par
src/index.ts:2483
↓ 1 callersFunctionpollDeviceAuthorizationGrant
( config: Configuration, deviceAuthorizationResponse: oauth.DeviceAuthorizationResponse, parameters?: UR
src/index.ts:2239
↓ 1 callersFunctionpushEncryptionKey
(def: any)
conformance/ava.config.ts:139
↓ 1 callersFunctionrequiresNonce
(planName: string, variant: Record<string, string>)
conformance/runner.ts:129
↓ 1 callersFunctionrequiresState
(planName: string, variant: Record<string, string>)
conformance/runner.ts:136
↓ 1 callersFunctionselectCryptoKeyForDecryption
( keys: DecryptionKey[], alg: string, kid?: string, epk?: unknown, )
src/index.ts:1636
↓ 1 callersFunctionstripParams
(url: URL)
src/index.ts:3277
↓ 1 callersFunctionusesDpop
(variant: Record<string, string>)
conformance/runner.ts:95
↓ 1 callersFunctionusesJarm
(variant: Record<string, string>)
conformance/runner.ts:91
↓ 1 callersFunctionusesPar
(plan: Plan)
conformance/runner.ts:99
↓ 1 callersFunctionusesRequestObject
(planName: string, variant: Record<string, string>)
conformance/runner.ts:113
↓ 1 callersFunctionvalidateJARMResponse
( config: Configuration, authorizationResponse: URL, expectedState: string | typeof skipStateCheck | und
src/index.ts:3510
↓ 1 callersFunctionwaitStep
(remaining: number)
src/index.ts:2143
FunctionClientSecretBasic
(clientSecret?: string)
src/index.ts:236
next →1–100 of 168, ranked by callers