Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/curityio/cloud-native-oauth-security-examples
/ functions
Functions
320 in github.com/curityio/cloud-native-oauth-security-examples
⨍
Functions
320
◇
Types & classes
167
↓ 1 callers
Function
generateHash
(data: string)
chapter-12-platform-specific-apps/console-app/src/oauth/cryptoUtils.ts:24
↓ 1 callers
Function
generateHash
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/oauth/CryptoUtils.kt:31
↓ 1 callers
Function
generateHash
(data: string)
chapter-12-platform-specific-apps/desktop-app/src/main/oauth/cryptoUtils.ts:24
↓ 1 callers
Function
generateHash
(data: string)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/pkce.ts:32
↓ 1 callers
Method
generateKeys
()
chapter-05-secure-api-development/test/mockAuthorizationServer.ts:102
↓ 1 callers
Method
getAccessToken
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/oauth/OAuthClient.kt:73
↓ 1 callers
Method
getAccessToken
()
chapter-12-platform-specific-apps/desktop-app/src/main/oauth/oauthClient.ts:106
↓ 1 callers
Method
getAllOrdersForRegion
(region: string)
chapter-05-secure-api-development/src/logic/ordersRepository.ts:52
↓ 1 callers
Method
getApiError
(unhandledException: any)
chapter-05-secure-api-development/src/errors/errorHandler.ts:61
↓ 1 callers
Function
getAuthenticationState
()
chapter-13-browser-based-apps/browser-based-application/src/views/pageLoad/pageLoadView.tsx:22
↓ 1 callers
Function
getAuthenticationTime
()
chapter-12-platform-specific-apps/desktop-app/src/renderer/claims/claimsView.tsx:22
↓ 1 callers
Function
getAuthenticationTime
()
chapter-13-browser-based-apps/browser-based-application/src/views/claims/claimsView.tsx:22
↓ 1 callers
Function
getAuthorizationResponse
(responseUrl: URL)
chapter-12-platform-specific-apps/console-app/src/oauth/oauthClient.ts:86
↓ 1 callers
Method
getAuthorizationResponse
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/oauth/OAuthClient.kt:157
↓ 1 callers
Method
getAuthorizationResponse
(authorizationResponseUrl: URL)
chapter-12-platform-specific-apps/desktop-app/src/main/oauth/oauthClient.ts:165
↓ 1 callers
Method
getCallApiViewModel
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/MainActivityViewModel.kt:112
↓ 1 callers
Function
getClaimsInfo
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/views/ClaimsView.kt:36
↓ 1 callers
Method
getCode
()
chapter-13-browser-based-apps/browser-based-application/src/utilities/applicationError.ts:32
↓ 1 callers
Function
getCookiePath
(config: OAuthAgentConfiguration, type: string)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/cookieBuilder.ts:93
↓ 1 callers
Method
getDetails
()
chapter-05-secure-api-development/src/errors/apiError.ts:54
↓ 1 callers
Method
getIdTokenClaims
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/MainActivityViewModel.kt:108
↓ 1 callers
Function
getLoginStatus
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/views/PageLoadView.kt:35
↓ 1 callers
Function
getLogoutURL
(config: OAuthAgentConfiguration)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/getLogoutURL.ts:19
↓ 1 callers
Method
getOAuthUserInfo
()
chapter-13-browser-based-apps/browser-based-application/src/api/apiClient.ts:47
↓ 1 callers
Function
getOrderById
(id: string, accessToken: string)
chapter-12-platform-specific-apps/console-app/src/apiClient.ts:31
↓ 1 callers
Function
getOrders
()
chapter-12-platform-specific-apps/desktop-app/src/renderer/apiRequest.ts:24
↓ 1 callers
Method
getOrders
()
chapter-12-platform-specific-apps/desktop-app/src/main/apiClient.ts:35
↓ 1 callers
Method
getOrders
()
chapter-13-browser-based-apps/browser-based-application/src/api/apiClient.ts:40
↓ 1 callers
Method
getOrdersForCustomer
(customerId: string)
chapter-05-secure-api-development/src/logic/ordersRepository.ts:45
↓ 1 callers
Function
getOrdersList
(accessToken: string)
chapter-12-platform-specific-apps/console-app/src/apiClient.ts:24
↓ 1 callers
Method
getRedirectOptions
()
chapter-13-browser-based-apps/browser-based-application/src/oauth/oauthClient.ts:140
↓ 1 callers
Method
getSession
()
chapter-13-browser-based-apps/browser-based-application/src/oauth/oauthClient.ts:57
↓ 1 callers
Method
getStatus
()
chapter-13-browser-based-apps/browser-based-application/src/utilities/applicationError.ts:28
↓ 1 callers
Function
getTempLoginDataCookie
(codeVerifier: string, state: string, options: SerializeOptions, cookieNamePrefix: string, encKey: string)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/pkce.ts:47
↓ 1 callers
Function
getTempLoginDataCookieForUnset
(options: SerializeOptions, cookieNamePrefix: string)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/pkce.ts:51
↓ 1 callers
Function
getTokenEndpointResponse
(config: OAuthAgentConfiguration, code: string, state: string, tempLoginData: string | undefined | null, )
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/getToken.ts:28
↓ 1 callers
Function
getUserInfo
()
chapter-12-platform-specific-apps/desktop-app/src/renderer/apiRequest.ts:28
↓ 1 callers
Method
getUserInfoEndpoint
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/oauth/OAuthClient.kt:69
↓ 1 callers
Method
getUserInfoEndpoint
()
chapter-12-platform-specific-apps/desktop-app/src/main/oauth/oauthClient.ts:99
↓ 1 callers
Method
getUserInfoViewModel
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/MainActivityViewModel.kt:125
↓ 1 callers
Function
handleAuthorizationResponse
(pageUrl?: string)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/loginHandler.ts:51
↓ 1 callers
Method
handleCancellation
* If the user cancelled the custom tab there is no intent data and we finish the activity */
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/oauth/LoginRequestResponseActivity.kt:95
↓ 1 callers
Method
handleOAuthError
(e: any)
chapter-13-browser-based-apps/browser-based-application/src/utilities/errorHandler.ts:25
↓ 1 callers
Method
handlePageLoad
()
chapter-13-browser-based-apps/browser-based-application/src/views/app/appViewModel.ts:54
↓ 1 callers
Function
initialize
()
chapter-12-platform-specific-apps/desktop-app/src/renderer/app.tsx:46
↓ 1 callers
Method
initialize
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/oauth/OAuthClient.kt:62
↓ 1 callers
Method
initialize
()
chapter-12-platform-specific-apps/desktop-app/src/main/oauth/oauthClient.ts:41
↓ 1 callers
Method
initialize
()
chapter-05-secure-api-development/src/logic/objectFactory.ts:43
↓ 1 callers
Method
initialize
()
chapter-13-browser-based-apps/browser-based-application/src/utilities/multiTabLogout.ts:29
↓ 1 callers
Method
isAccessTokenExpiredError
()
chapter-13-browser-based-apps/browser-based-application/src/utilities/applicationError.ts:40
↓ 1 callers
Method
listAllUsers
()
chapter-04-scim-user-migration/src/scimClient.ts:109
↓ 1 callers
Method
loadConfiguration
()
chapter-13-browser-based-apps/browser-based-application/src/views/app/appViewModel.ts:39
↓ 1 callers
Method
loadProducts
chapter-10-workload-identities/demoapi/src/main/kotlin/com/example/demoapi/ProductsRepository.kt:11
↓ 1 callers
Method
logError
(error: any)
chapter-12-platform-specific-apps/desktop-app/src/main/ipcRequestHandler.ts:145
↓ 1 callers
Method
logError
(error: ApiError)
chapter-05-secure-api-development/src/errors/errorHandler.ts:73
↓ 1 callers
Function
login
()
chapter-12-platform-specific-apps/console-app/src/oauth/oauthClient.ts:34
↓ 1 callers
Method
login
(authorizationRequestUrl: string)
chapter-12-platform-specific-apps/console-app/src/oauth/loginRequestResponse.ts:51
↓ 1 callers
Method
logout
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/oauth/OAuthClient.kt:125
↓ 1 callers
Method
logout
()
chapter-13-browser-based-apps/browser-based-application/src/oauth/oauthClient.ts:93
↓ 1 callers
Method
migrateUser
(customer: Customer)
chapter-04-scim-user-migration/src/scimClient.ts:41
↓ 1 callers
Function
onExternalLogout
()
chapter-13-browser-based-apps/browser-based-application/src/views/app/app.tsx:82
↓ 1 callers
Method
onFinishLogin
* Process the authorization response from the LoginRequestResponseActivity */
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/MainActivity.kt:113
↓ 1 callers
Function
parseMainError
(e: string)
chapter-12-platform-specific-apps/desktop-app/src/renderer/errorUtil.ts:19
↓ 1 callers
Function
parseUrl
(urlString?: string)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/loginHandler.ts:74
↓ 1 callers
Method
raiseLoggedOutEvent
()
chapter-13-browser-based-apps/browser-based-application/src/utilities/multiTabLogout.ts:33
↓ 1 callers
Method
readAccessToken
(request: Request)
chapter-05-secure-api-development/src/security/oauthFilter.ts:94
↓ 1 callers
Method
readJsonResponseError
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/oauth/OAuthClient.kt:279
↓ 1 callers
Method
readJsonResponseError
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/api/ApiClient.kt:117
↓ 1 callers
Function
redeemCodeForTokens
( authorizationResponse: AuthorizationResponse, redirectUri: string, codeVerifier: string)
chapter-12-platform-specific-apps/console-app/src/oauth/oauthClient.ts:114
↓ 1 callers
Method
redeemCodeForTokens
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/oauth/OAuthClient.kt:175
↓ 1 callers
Method
redeemCodeForTokens
( authorizationResponse: AuthorizationResponse, redirectUri: string, codeVerifier: str
chapter-12-platform-specific-apps/desktop-app/src/main/oauth/oauthClient.ts:193
↓ 1 callers
Method
refresh
()
chapter-13-browser-based-apps/browser-based-application/src/oauth/oauthClient.ts:86
↓ 1 callers
Function
refreshAccessToken
()
chapter-12-platform-specific-apps/desktop-app/src/renderer/apiRequest.ts:74
↓ 1 callers
Function
refreshAccessToken
(refreshToken: string, config: OAuthAgentConfiguration)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/getToken.ts:78
↓ 1 callers
Method
refreshAccessToken
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/oauth/OAuthClient.kt:99
↓ 1 callers
Function
serializeError
(e: any)
chapter-12-platform-specific-apps/desktop-app/src/main/errorSerializer.ts:19
↓ 1 callers
Method
setupCallbacks
()
chapter-13-browser-based-apps/browser-based-application/src/utilities/multiTabLogout.ts:50
↓ 1 callers
Method
start
()
chapter-12-platform-specific-apps/console-app/src/oauth/loginRequestResponse.ts:41
↓ 1 callers
Method
start
()
chapter-05-secure-api-development/test/mockAuthorizationServer.ts:37
↓ 1 callers
Method
startLogin
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/oauth/OAuthClient.kt:77
↓ 1 callers
Method
startLogin
()
chapter-13-browser-based-apps/browser-based-application/src/oauth/oauthClient.ts:64
↓ 1 callers
Function
startup
()
chapter-13-browser-based-apps/browser-based-application/src/views/app/app.tsx:45
↓ 1 callers
Method
stop
()
chapter-05-secure-api-development/test/mockAuthorizationServer.ts:54
↓ 1 callers
Method
toClientJson
()
chapter-05-secure-api-development/src/errors/apiError.ts:35
↓ 1 callers
Method
toDisplayFormat
()
chapter-12-platform-specific-apps/console-app/src/applicationError.ts:31
↓ 1 callers
Method
toLogJson
()
chapter-05-secure-api-development/src/errors/apiError.ts:44
↓ 1 callers
Function
validateIDToken
(config: OAuthAgentConfiguration, idToken: string, remoteJwkSet: JWTVerifyGetKey)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/idTokenValidator.ts:24
↓ 1 callers
Function
validateIdToken
(idToken: string)
chapter-12-platform-specific-apps/console-app/src/oauth/oauthClient.ts:176
↓ 1 callers
Method
validateIdToken
(idToken: string)
chapter-12-platform-specific-apps/desktop-app/src/main/oauth/oauthClient.ts:220
↓ 1 callers
Method
writeAuthenticateHeader
(apiError: ApiError, response: Response)
chapter-05-secure-api-development/src/errors/errorHandler.ts:51
Function
App
()
chapter-12-platform-specific-apps/desktop-app/src/renderer/app.tsx:32
Function
App
(props: AppProps)
chapter-13-browser-based-apps/browser-based-application/src/views/app/app.tsx:30
Function
CallApiView
(props: CallApiProps)
chapter-12-platform-specific-apps/desktop-app/src/renderer/callApi/callApiView.tsx:24
Function
CallApiView
(props: CallApiProps)
chapter-13-browser-based-apps/browser-based-application/src/views/callApi/callApiView.tsx:23
Function
ClaimsView
(props: ClaimsProps)
chapter-12-platform-specific-apps/desktop-app/src/renderer/claims/claimsView.tsx:20
Function
ClaimsView
(props: ClaimsProps)
chapter-13-browser-based-apps/browser-based-application/src/views/claims/claimsView.tsx:20
Function
MultiTabView
()
chapter-13-browser-based-apps/browser-based-application/src/views/multiTab/multiTabView.tsx:19
Function
PageLoadView
(props: PageLoadProps)
chapter-12-platform-specific-apps/desktop-app/src/renderer/pageLoad/pageLoadView.tsx:20
Function
PageLoadView
(props: PageLoadProps)
chapter-13-browser-based-apps/browser-based-application/src/views/pageLoad/pageLoadView.tsx:20
Function
SignInView
(props: SignInProps)
chapter-12-platform-specific-apps/desktop-app/src/renderer/signIn/signInView.tsx:23
← previous
next →
101–200 of 320, ranked by callers