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
Function
SignInView
(props: SignInProps)
chapter-13-browser-based-apps/browser-based-application/src/views/signIn/signInView.tsx:21
Function
SignOutView
(props: SignOutProps)
chapter-12-platform-specific-apps/desktop-app/src/renderer/signOut/signOutView.tsx:23
Function
SignOutView
(props: SignOutProps)
chapter-13-browser-based-apps/browser-based-application/src/views/signOut/signOutView.tsx:22
Function
TitleView
()
chapter-12-platform-specific-apps/desktop-app/src/renderer/title/titleView.tsx:19
Function
TitleView
()
chapter-13-browser-based-apps/browser-based-application/src/views/title/titleView.tsx:19
Function
UserInfoView
(props: UserInfoProps)
chapter-12-platform-specific-apps/desktop-app/src/renderer/userInfo/userInfoView.tsx:23
Function
UserInfoView
(props: UserInfoProps)
chapter-13-browser-based-apps/browser-based-application/src/views/userInfo/userInfoView.tsx:22
Method
canEditOrderPrice
(accessTokenRoles: string[])
chapter-05-secure-api-development/src/security/rolePermissions.ts:37
Method
canListOrdersForAllUsers
(accessTokenRoles: string[])
chapter-05-secure-api-development/src/security/rolePermissions.ts:41
Method
canListOrdersForRegionalUsers
()
chapter-05-secure-api-development/src/security/policyAuthorizer.ts:47
Method
canListOrdersForRegionalUsers
()
chapter-05-secure-api-development/src/security/codeAuthorizer.ts:64
Method
canListOrdersForRegionalUsers
(accessTokenRoles: string[])
chapter-05-secure-api-development/src/security/rolePermissions.ts:45
Method
canListOwnedOrders
()
chapter-05-secure-api-development/src/security/policyAuthorizer.ts:54
Method
canListOwnedOrders
()
chapter-05-secure-api-development/src/security/codeAuthorizer.ts:80
Method
canViewOrder
(order: OrderDetails)
chapter-05-secure-api-development/src/security/policyAuthorizer.ts:40
Method
canViewOrder
(order: OrderDetails)
chapter-05-secure-api-development/src/security/codeAuthorizer.ts:40
Method
clear
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/views/UserInfoViewModel.kt:67
Method
constructor
(code: string, message: string, status: number | null = null)
chapter-12-platform-specific-apps/console-app/src/applicationError.ts:25
Method
constructor
()
chapter-12-platform-specific-apps/console-app/src/oauth/loginRequestResponse.ts:34
Method
constructor
(oauthClient: OAuthClient)
chapter-12-platform-specific-apps/desktop-app/src/main/apiClient.ts:31
Method
constructor
(window: BrowserWindow)
chapter-12-platform-specific-apps/desktop-app/src/main/ipcRequestHandler.ts:36
Method
constructor
()
chapter-12-platform-specific-apps/desktop-app/src/main/oauth/loginRequestResponse.ts:35
Method
constructor
(code: string, message: string, status: number | null = null)
chapter-12-platform-specific-apps/desktop-app/src/shared/applicationError.ts:25
Method
constructor
(baseUrl: string)
chapter-05-secure-api-development/test/apiClient.ts:23
Method
constructor
()
chapter-05-secure-api-development/src/configuration.ts:31
Method
constructor
(configuration: Configuration, accessToken: string)
chapter-05-secure-api-development/src/security/policyAuthorizer.ts:32
Method
constructor
(allowed: boolean, attributes: Record<string, string> | null = null)
chapter-05-secure-api-development/src/security/authorizationResult.ts:25
Method
constructor
(configuration: Configuration, objectFactory: ObjectFactory)
chapter-05-secure-api-development/src/security/oauthFilter.ts:33
Method
constructor
(claims: ClaimsPrincipal, rolePermissions: RolePermissions)
chapter-05-secure-api-development/src/security/codeAuthorizer.ts:32
Method
constructor
(claims: JWTPayload)
chapter-05-secure-api-development/src/security/claimsPrincipal.ts:32
Method
constructor
(status: number, code: string, message: string, extra: any = null)
chapter-05-secure-api-development/src/errors/apiError.ts:28
Method
constructor
(service: OrdersService)
chapter-05-secure-api-development/src/logic/ordersController.ts:29
Method
constructor
(repository: OrdersRepository)
chapter-05-secure-api-development/src/logic/ordersService.ts:30
Method
constructor
(configuration: Configuration)
chapter-05-secure-api-development/src/logic/objectFactory.ts:35
Method
constructor
(configuration: Configuration)
chapter-04-scim-user-migration/src/tokenClient.ts:28
Method
constructor
(configuration: Configuration, accessToken: string)
chapter-04-scim-user-migration/src/scimClient.ts:30
Method
constructor
(message: string, json: any = null)
chapter-04-scim-user-migration/src/migrationError.ts:24
Method
constructor
()
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/controller/LogoutController.ts:26
Method
constructor
()
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/controller/SessionController.ts:25
Method
constructor
()
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/controller/RefreshTokenController.ts:28
Method
constructor
(remoteJwkSet: JWTVerifyGetKey)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/controller/LoginController.ts:39
Method
constructor
(authorizationRequestURL: string, codeVerifier: string, state: string)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/authorizationRequestData.ts:22
Method
constructor
( port: string, endpointsPrefix: string, serverCertPath: string, serverCertPas
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/oauthAgentConfiguration.ts:46
Method
constructor
(grant: Grant, status: number, responseText: string)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/exceptions/AuthorizationClientException.ts:26
Method
constructor
()
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/exceptions/MissingCodeVerifierException.ts:23
Method
constructor
(cause?: Error)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/exceptions/CookieDecryptionException.ts:24
Method
constructor
(cause?: Error)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/exceptions/UnauthorizedException.ts:24
Method
constructor
(cause?: Error)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/exceptions/BadRequestException.ts:24
Method
constructor
(cause?: Error)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/exceptions/AuthorizationServerException.ts:24
Method
constructor
(error: string, description: string)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/exceptions/AuthorizationResponseException.ts:25
Method
constructor
()
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/exceptions/InvalidStateException.ts:23
Method
constructor
(cause?: Error)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/exceptions/InvalidCookieException.ts:24
Method
constructor
(cause?: Error)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/exceptions/InvalidIDTokenException.ts:24
Method
constructor
(cause?: Error)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/exceptions/UnhandledException.ts:24
Method
constructor
(backendForFrontendBaseUrl: string)
chapter-13-browser-based-apps/browser-based-application/src/oauth/oauthClient.ts:28
Method
constructor
(status: number, code: string, message: string)
chapter-13-browser-based-apps/browser-based-application/src/utilities/applicationError.ts:22
Method
constructor
(onLoggedOut: () => void)
chapter-13-browser-based-apps/browser-based-application/src/utilities/multiTabLogout.ts:22
Method
constructor
()
chapter-13-browser-based-apps/browser-based-application/src/views/app/appViewModel.ts:31
Method
constructor
(backendForFrontendBaseUrl: string, oauthClient: OAuthClient)
chapter-13-browser-based-apps/browser-based-application/src/api/apiClient.ts:31
Method
decodeToString
(input: string)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/base64url.ts:23
Method
endLogin
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/MainActivityViewModel.kt:81
Method
errorCode
()
chapter-12-platform-specific-apps/desktop-app/src/shared/applicationError.ts:31
Function
exceptionMiddleware
( caught: any, request: Request, response: Response, next: NextFunction)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/middleware/exceptionMiddleware.ts:23
Function
execute
()
chapter-12-platform-specific-apps/desktop-app/src/renderer/userInfo/userInfoView.tsx:28
Function
execute
()
chapter-12-platform-specific-apps/desktop-app/src/renderer/signOut/signOutView.tsx:27
Function
execute
()
chapter-12-platform-specific-apps/desktop-app/src/renderer/callApi/callApiView.tsx:29
Function
execute
()
chapter-12-platform-specific-apps/desktop-app/src/renderer/signIn/signInView.tsx:28
Function
execute
()
chapter-13-browser-based-apps/browser-based-application/src/views/userInfo/userInfoView.tsx:27
Function
execute
()
chapter-13-browser-based-apps/browser-based-application/src/views/multiTab/multiTabView.tsx:21
Function
execute
()
chapter-13-browser-based-apps/browser-based-application/src/views/signOut/signOutView.tsx:26
Function
execute
()
chapter-13-browser-based-apps/browser-based-application/src/views/callApi/callApiView.tsx:28
Function
execute
()
chapter-13-browser-based-apps/browser-based-application/src/views/signIn/signInView.tsx:28
Method
getApiData
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/views/CallApiViewModel.kt:38
Method
getApiData
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/api/ApiClient.kt:37
Method
getApiOrders
(event: IpcMainInvokeEvent)
chapter-12-platform-specific-apps/desktop-app/src/main/ipcRequestHandler.ts:97
Method
getConnection
chapter-10-workload-identities/demoapi/src/main/kotlin/com/example/demoapi/ProductsRepository.kt:30
Method
getOrderDetails
(orderId: string)
chapter-05-secure-api-development/src/logic/ordersRepository.ts:59
Method
getOrderDetails
(request: Request, response: Response)
chapter-05-secure-api-development/src/logic/ordersController.ts:49
Method
getOrderDetails
(orderId: string, authorizer: Authorizer)
chapter-05-secure-api-development/src/logic/ordersService.ts:55
Function
getRedirectUri
(baseUrl: string, path: string, scheme: string)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/lib/redirectUri.ts:17
Method
getUserInfo
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/views/UserInfoViewModel.kt:37
Method
getUserInfo
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/api/ApiClient.kt:41
Method
getUserInfo
()
chapter-12-platform-specific-apps/desktop-app/src/main/apiClient.ts:39
Method
getUserInfo
(event: IpcMainInvokeEvent)
chapter-12-platform-specific-apps/desktop-app/src/main/ipcRequestHandler.ts:104
Method
handleLoopbackHttpRequest
( request: http.IncomingMessage, response: http.ServerResponse)
chapter-12-platform-specific-apps/console-app/src/oauth/loginRequestResponse.ts:73
Method
handleLoopbackHttpRequest
( request: http.IncomingMessage, response: http.ServerResponse)
chapter-12-platform-specific-apps/desktop-app/src/main/oauth/loginRequestResponse.ts:80
Method
handlePageLoad
(location: Location)
chapter-13-browser-based-apps/browser-based-application/src/oauth/oauthClient.ts:35
Method
hasAdminRole
()
chapter-05-secure-api-development/src/security/claimsPrincipal.ts:56
Method
hasCustomerRole
()
chapter-05-secure-api-development/src/security/claimsPrincipal.ts:52
Method
initialize
chapter-12-platform-specific-apps/android-app/app/src/main/java/com/example/demoapp/MainActivityViewModel.kt:58
Method
initialize
(event: IpcMainInvokeEvent)
chapter-12-platform-specific-apps/desktop-app/src/main/ipcRequestHandler.ts:64
Method
initialize
()
chapter-12-platform-specific-apps/desktop-app/src/main/oauth/loginRequestResponse.ts:42
Method
listOrders
(request: Request, response: Response)
chapter-05-secure-api-development/src/logic/ordersController.ts:39
Method
listOrders
(authorizer: Authorizer)
chapter-05-secure-api-development/src/logic/ordersService.ts:37
Method
listenForLoggedOutEvent
(event: StorageEvent)
chapter-13-browser-based-apps/browser-based-application/src/utilities/multiTabLogout.ts:41
Method
load
()
chapter-05-secure-api-development/src/security/rolePermissions.ts:27
Function
loggingMiddleware
( request: Request, response: Response, next: NextFunction)
chapter-13-browser-based-apps/backend-for-frontend/oauth-agent/src/middleware/loggingMiddleware.ts:20
Method
login
(event: IpcMainInvokeEvent)
chapter-12-platform-specific-apps/desktop-app/src/main/ipcRequestHandler.ts:71
Method
login
()
chapter-12-platform-specific-apps/desktop-app/src/main/oauth/oauthClient.ts:69
Method
logout
(event: IpcMainInvokeEvent)
chapter-12-platform-specific-apps/desktop-app/src/main/ipcRequestHandler.ts:90
← previous
next →
201–300 of 320, ranked by callers