MCPcopy Create free account

hub / github.com/curityio/cloud-native-oauth-security-examples / functions

Functions320 in github.com/curityio/cloud-native-oauth-security-examples

↓ 23 callersMethodtoString
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/ApplicationError.kt:27
↓ 13 callersMethodissueMockAccessToken
( properties: TokenProperties, maliciousKeypair: GenerateKeyPairResult<KeyLike> | null = null)
chapter-05-secure-api-development/test/mockAuthorizationServer.ts:62
↓ 9 callersMethodgetOrders
(accessToken: string)
chapter-05-secure-api-development/test/apiClient.ts:27
↓ 9 callersMethodonLoggedOut
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/MainActivityViewModel.kt:100
↓ 8 callersMethod_addField
(fields: string[], value?: string)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/middleware/requestLog.ts:92
↓ 8 callersFunctiongetCookieSerializeOptions
(config: OAuthAgentConfiguration, type: string)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/cookieBuilder.ts:83
↓ 8 callersMethodgetValue
(name: string, defaultValue = '')
chapter-05-secure-api-development/src/configuration.ts:48
↓ 7 callersFunctionTextHeading
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/utilities/TextHeading.kt:29
↓ 7 callersFunctionTextOnColor
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/utilities/TextOnColor.kt:35
↓ 7 callersFunctionTextParagraph
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/utilities/TextParagraph.kt:29
↓ 7 callersMethodend
(response: Response)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/middleware/requestLog.ts:39
↓ 6 callersMethodgetClaim
(claims: JWTPayload, name: string, required = true)
chapter-05-secure-api-development/src/security/claimsPrincipal.ts:60
↓ 6 callersMethodhandleOperation
(event: IpcMainInvokeEvent, action: () => Promise<any>)
chapter-12-platform-specific-apps/desktop-app/src/main/ipcRequestHandler.ts:118
↓ 6 callersFunctionipcRequest
(name: string, requestData: any = {})
chapter-12-platform-specific-apps/desktop-app/src/renderer/ipcRequest.ts:23
↓ 5 callersMethodfetch
(method: string, path: string, body: any = null)
chapter-13-browser-based-apps/browser-based-application/src/oauth/oauthClient.ts:103
↓ 5 callersFunctiongetErrorText
(error: any)
chapter-12-platform-specific-apps/desktop-app/src/renderer/errorUtil.ts:25
↓ 5 callersFunctiongetIDCookieName
(cookieNamePrefix: string)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/cookieName.ts:20
↓ 5 callersMethodgetOrderDetails
(id: string, accessToken: string)
chapter-05-secure-api-development/test/apiClient.ts:31
↓ 5 callersMethodtoDisplayFormat
(error: any)
chapter-13-browser-based-apps/browser-based-application/src/utilities/errorRenderer.ts:21
↓ 5 callersFunctionvalidateExpressRequest
(req: express.Request)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/validateExpressRequest.ts:20
↓ 4 callersFunctionCustomButton
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/utilities/CustomButton.kt:30
↓ 4 callersMethod_scimRequest
(method: string, path: string = '', data: any = null)
chapter-04-scim-user-migration/src/scimClient.ts:161
↓ 4 callersMethodencode
(input: Buffer)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/base64url.ts:6
↓ 4 callersMethodisPermissionInRoles
(accessTokenRoles: string[], predicate: (permissions: any) => boolean)
chapter-05-secure-api-development/src/security/rolePermissions.ts:49
↓ 4 callersMethodisSessionExpiredError
()
chapter-13-browser-based-apps/browser-based-application/src/utilities/applicationError.ts:50
↓ 4 callersFunctiononLoggedOut
()
chapter-13-browser-based-apps/browser-based-application/src/views/app/app.tsx:73
↓ 3 callersMethod_handleError
(e: any)
chapter-04-scim-user-migration/src/scimClient.ts:189
↓ 3 callersMethodauthenticate
()
chapter-04-scim-user-migration/src/tokenClient.ts:35
↓ 3 callersMethodcallAuthorizationServer
( operation: string, method: string, url: string, requestData: any = null)
chapter-12-platform-specific-apps/desktop-app/src/main/oauth/oauthClient.ts:240
↓ 3 callersMethodcallPolicyEngine
(action: String, type: String, order?: OrderDetails)
chapter-05-secure-api-development/src/security/policyAuthorizer.ts:67
↓ 3 callersMethodcanListOrdersForRegionalUsers
()
chapter-05-secure-api-development/src/security/authorizer.ts:27
↓ 3 callersFunctiondecryptCookie
(encKeyHex: string, encryptedbase64value: string)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/cookieEncrypter.ts:43
↓ 3 callersMethodgetDetails
()
chapter-04-scim-user-migration/src/migrationError.ts:29
↓ 3 callersFunctiongetEncryptedCookie
(options: SerializeOptions, value: string, name: string, encKey: string)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/cookieEncrypter.ts:80
↓ 3 callersFunctiongetRTCookieName
(cookieNamePrefix: string)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/cookieName.ts:18
↓ 3 callersFunctiongetTempLoginDataCookieName
(cookieNamePrefix: string)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/cookieName.ts:17
↓ 3 callersMethodsendAndGetJson
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/oauth/OAuthClient.kt:224
↓ 2 callersMethodaddError
(error: OAuthAgentException)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/middleware/requestLog.ts:35
↓ 2 callersFunctioncallApi
(options: ApiOptions)
chapter-12-platform-specific-apps/desktop-app/src/renderer/apiRequest.ts:70
↓ 2 callersMethodcallApi
(url: string)
chapter-12-platform-specific-apps/desktop-app/src/main/apiClient.ts:51
↓ 2 callersMethodcallApi
(method: string, path: string, accessToken: string)
chapter-05-secure-api-development/test/apiClient.ts:35
↓ 2 callersMethodcanOwnOrders
(accessTokenRoles: string[])
chapter-05-secure-api-development/src/security/rolePermissions.ts:33
↓ 2 callersMethodclear
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/views/CallApiViewModel.kt:68
↓ 2 callersFunctioncreateWindow
()
chapter-12-platform-specific-apps/desktop-app/src/main.ts:33
↓ 2 callersMethoddecode
(input: string)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/base64url.ts:14
↓ 2 callersFunctionencryptCookie
(encKeyHex: string, plaintext: string)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/cookieEncrypter.ts:25
↓ 2 callersMethodfetch
(method: string, url: string)
chapter-13-browser-based-apps/browser-based-application/src/api/apiClient.ts:59
↓ 2 callersMethodfetchImpl
(method: string, url: string)
chapter-13-browser-based-apps/browser-based-application/src/api/apiClient.ts:93
↓ 2 callersFunctiongenerateRandomString
()
chapter-12-platform-specific-apps/console-app/src/oauth/cryptoUtils.ts:19
↓ 2 callersFunctiongenerateRandomString
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/oauth/CryptoUtils.kt:23
↓ 2 callersFunctiongenerateRandomString
()
chapter-12-platform-specific-apps/desktop-app/src/main/oauth/cryptoUtils.ts:19
↓ 2 callersFunctiongenerateRandomString
(length = 64)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/pkce.ts:25
↓ 2 callersFunctiongetATCookieName
(cookieNamePrefix: string)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/cookieName.ts:19
↓ 2 callersFunctiongetCookiesForTokenResponse
(tokenResponse: any, config: OAuthAgentConfiguration, unsetTempLoginDataCookie: boolean = false)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/cookieBuilder.ts:26
↓ 2 callersFunctiongetCookiesForUnset
(config: OAuthAgentConfiguration)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/cookieBuilder.ts:58
↓ 2 callersFunctiongetDataFromApi
(url: string, accessToken: string)
chapter-12-platform-specific-apps/console-app/src/apiClient.ts:38
↓ 2 callersMethodgetDataFromApi
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/api/ApiClient.kt:74
↓ 2 callersFunctiongetIDTokenClaimsFromCookie
(encKey: string, encryptedCookie: string)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/getIDTokenClaims.ts:20
↓ 2 callersMethodhandleApiError
(e: any)
chapter-13-browser-based-apps/browser-based-application/src/utilities/errorHandler.ts:21
↓ 2 callersMethodhandleFetchError
(type: string, codeParam: string, e: any)
chapter-13-browser-based-apps/browser-based-application/src/utilities/errorHandler.ts:32
↓ 2 callersMethodload
()
chapter-05-secure-api-development/src/logic/ordersRepository.ts:33
↓ 2 callersMethodlookupExistingUserId
(customer: Customer)
chapter-04-scim-user-migration/src/scimClient.ts:139
↓ 2 callersFunctionmakeApiRequest
(options: ApiOptions)
chapter-12-platform-specific-apps/desktop-app/src/renderer/apiRequest.ts:35
↓ 2 callersMethodmakeApiRequestWithExpiryHandling
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/api/ApiClient.kt:45
↓ 2 callersMethodstart
(request: Request)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/middleware/requestLog.ts:28
↓ 2 callersMethodstop
()
chapter-12-platform-specific-apps/console-app/src/oauth/loginRequestResponse.ts:94
↓ 2 callersMethodstop
()
chapter-12-platform-specific-apps/desktop-app/src/main/oauth/loginRequestResponse.ts:101
↓ 2 callersMethodtoDisplayFormat
()
chapter-12-platform-specific-apps/desktop-app/src/shared/applicationError.ts:39
↓ 2 callersFunctionurlEncode
(data: string)
chapter-12-platform-specific-apps/console-app/src/oauth/cryptoUtils.ts:31
↓ 2 callersFunctionurlEncode
(data: string)
chapter-12-platform-specific-apps/desktop-app/src/main/oauth/cryptoUtils.ts:31
↓ 2 callersMethodvalidateIdToken
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/oauth/OAuthClient.kt:197
↓ 2 callersMethodwriteErrorResponse
(apiError: ApiError, response: Response)
chapter-05-secure-api-development/src/errors/errorHandler.ts:37
↓ 1 callersFunctionCallApiView
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/views/CallApiView.kt:32
↓ 1 callersFunctionClaimsView
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/views/ClaimsView.kt:33
↓ 1 callersFunctionDemoAppTheme
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/DemoAppTheme.kt:27
↓ 1 callersFunctionPageLoadView
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/views/PageLoadView.kt:32
↓ 1 callersFunctionSignInView
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/views/SignInView.kt:30
↓ 1 callersFunctionSignOutView
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/views/SignOutView.kt:27
↓ 1 callersFunctionTitleView
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/views/TitleView.kt:31
↓ 1 callersFunctionUserInfoView
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/views/UserInfoView.kt:32
↓ 1 callersMethod_handleError
(e: any)
chapter-04-scim-user-migration/src/tokenClient.ts:67
↓ 1 callersMethod_output
()
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/middleware/requestLog.ts:45
↓ 1 callersFunctionbase64UrlEncode
(hashedData: string)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/pkce.ts:40
↓ 1 callersFunctionbuildAuthorizationRequestUrl
( state: string, codeChallenge: string, redirectUri: string)
chapter-12-platform-specific-apps/console-app/src/oauth/oauthClient.ts:65
↓ 1 callersMethodbuildAuthorizationRequestUrl
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/oauth/OAuthClient.kt:143
↓ 1 callersMethodbuildAuthorizationRequestUrl
(state: string, codeChallenge: string, redirectUri: string)
chapter-12-platform-specific-apps/desktop-app/src/main/oauth/oauthClient.ts:148
↓ 1 callersMethodcanListOwnedOrders
()
chapter-05-secure-api-development/src/security/authorizer.ts:29
↓ 1 callersMethodcanViewOrder
(orderId: OrderDetails)
chapter-05-secure-api-development/src/security/authorizer.ts:25
↓ 1 callersFunctioncleanup
()
chapter-13-browser-based-apps/browser-based-application/src/views/app/app.tsx:66
↓ 1 callersFunctioncreateAuthorizationRequest
(config: OAuthAgentConfiguration, options?: ClientOptions)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/loginHandler.ts:23
↓ 1 callersMethodcreateCodeAuthorizer
(claims: ClaimsPrincipal)
chapter-05-secure-api-development/src/logic/objectFactory.ts:61
↓ 1 callersMethodcreatePolicyAuthorizer
(configuration: Configuration, accessToken: string)
chapter-05-secure-api-development/src/logic/objectFactory.ts:68
↓ 1 callersMethodcreateViews
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/MainActivity.kt:66
↓ 1 callersMethoddeleteUser
(customer: Customer)
chapter-04-scim-user-migration/src/scimClient.ts:125
↓ 1 callersMethoddownloadOpenIDConnectMetadata
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/oauth/OAuthClient.kt:130
↓ 1 callersMethodendLogin
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/oauth/OAuthClient.kt:84
↓ 1 callersMethodendLogin
(pageUrl: string)
chapter-13-browser-based-apps/browser-based-application/src/oauth/oauthClient.ts:74
↓ 1 callersMethodenforceRequiredScope
(requiredScope: string)
chapter-05-secure-api-development/src/security/claimsPrincipal.ts:42
↓ 1 callersFunctionexecute
()
chapter-12-platform-specific-apps/desktop-app/src/renderer/pageLoad/pageLoadView.tsx:22
↓ 1 callersMethodexecute
(authorizationRequestUrl: string)
chapter-12-platform-specific-apps/desktop-app/src/main/oauth/loginRequestResponse.ts:58
next →1–100 of 320, ranked by callers