├── .gitignore └── apps ├── web-dotnet-core-b2c-embedded ├── source-code │ ├── Placeholder.txt │ ├── wwwroot │ │ ├── js │ │ │ ├── site.min.js │ │ │ └── site.js │ │ ├── favicon.ico │ │ ├── lib │ │ │ ├── bootstrap │ │ │ │ ├── dist │ │ │ │ │ ├── fonts │ │ │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ │ │ └── js │ │ │ │ │ │ └── npm.js │ │ │ │ ├── .bower.json │ │ │ │ └── LICENSE │ │ │ ├── jquery-validation-unobtrusive │ │ │ │ ├── .bower.json │ │ │ │ └── LICENSE.txt │ │ │ ├── jquery │ │ │ │ ├── .bower.json │ │ │ │ └── LICENSE.txt │ │ │ └── jquery-validation │ │ │ │ ├── .bower.json │ │ │ │ └── LICENSE.md │ │ └── css │ │ │ ├── site.min.css │ │ │ └── site.css │ ├── obj │ │ ├── rider.project.restore.info │ │ ├── Debug │ │ │ └── netcoreapp3.1 │ │ │ │ ├── WebApp-OpenIDConnect-DotNet.csproj.CopyComplete │ │ │ │ ├── WebApp-OpenIDConnect-DotNet.TagHelpers.input.cache │ │ │ │ ├── WebApp-OpenIDConnect-DotNet.MvcApplicationPartsAssemblyInfo.cache │ │ │ │ ├── staticwebassets │ │ │ │ ├── WebApp-OpenIDConnect-DotNet.StaticWebAssets.Manifest.cache │ │ │ │ └── WebApp-OpenIDConnect-DotNet.StaticWebAssets.xml │ │ │ │ ├── WebApp-OpenIDConnect-DotNet.AssemblyInfoInputs.cache │ │ │ │ ├── WebApp-OpenIDConnect-DotNet.RazorAssemblyInfo.cache │ │ │ │ ├── WebApp-OpenIDConnect-DotNet.RazorCoreGenerate.cache │ │ │ │ ├── WebApp-OpenIDConnect-DotNet.genruntimeconfig.cache │ │ │ │ ├── WebApp-OpenIDConnect-DotNet.RazorTargetAssemblyInfo.cache │ │ │ │ ├── WebApp-OpenIDConnect-DotNet.csproj.CoreCompileInputs.cache │ │ │ │ ├── WebApp-OpenIDConnect-DotNet.dll │ │ │ │ ├── WebApp-OpenIDConnect-DotNet.pdb │ │ │ │ ├── WebApp-OpenIDConnect-DotNet.Views.dll │ │ │ │ ├── WebApp-OpenIDConnect-DotNet.Views.pdb │ │ │ │ ├── WebApp-OpenIDConnect-DotNet.assets.cache │ │ │ │ ├── WebApp-OpenIDConnect-DotNet.csprojAssemblyReference.cache │ │ │ │ ├── .NETCoreApp,Version=v3.1.AssemblyAttributes.cs │ │ │ │ ├── WebApp-OpenIDConnect-DotNet.RazorAssemblyInfo.cs │ │ │ │ ├── WebApp-OpenIDConnect-DotNet.MvcApplicationPartsAssemblyInfo.cs │ │ │ │ ├── WebApp-OpenIDConnect-DotNet.AssemblyInfo.cs │ │ │ │ └── WebApp-OpenIDConnect-DotNet.RazorTargetAssemblyInfo.cs │ │ ├── WebApp-OpenIDConnect-DotNet.csproj.nuget.g.targets │ │ ├── project.packagespec.json │ │ └── WebApp-OpenIDConnect-DotNet.csproj.nuget.g.props │ ├── Views │ │ ├── _ViewStart.cshtml │ │ ├── _ViewImports.cshtml │ │ ├── Home │ │ │ ├── Privacy.cshtml │ │ │ ├── Claims.cshtml │ │ │ └── Index.cshtml │ │ └── Shared │ │ │ ├── Error.cshtml │ │ │ ├── _ValidationScriptsPartial.cshtml │ │ │ └── _LoginPartial.cshtml │ ├── Properties │ │ ├── serviceDependencies.json │ │ ├── serviceDependencies.local.json │ │ └── launchSettings.json │ ├── ReadmeFiles │ │ ├── sign-in.png │ │ └── v2-variations.png │ ├── bin │ │ └── Debug │ │ │ └── netcoreapp3.1 │ │ │ ├── Azure.Core.dll │ │ │ ├── Azure.Identity.dll │ │ │ ├── Newtonsoft.Json.dll │ │ │ ├── Microsoft.Identity.Web.dll │ │ │ ├── Microsoft.Identity.Client.dll │ │ │ ├── Microsoft.Identity.Web.UI.dll │ │ │ ├── System.Text.Encodings.Web.dll │ │ │ ├── WebApp-OpenIDConnect-DotNet.dll │ │ │ ├── WebApp-OpenIDConnect-DotNet.pdb │ │ │ ├── Azure.Security.KeyVault.Secrets.dll │ │ │ ├── Microsoft.Bcl.AsyncInterfaces.dll │ │ │ ├── Microsoft.Identity.Web.UI.Views.dll │ │ │ ├── Microsoft.IdentityModel.Logging.dll │ │ │ ├── Microsoft.IdentityModel.Tokens.dll │ │ │ ├── System.IdentityModel.Tokens.Jwt.dll │ │ │ ├── Microsoft.IdentityModel.Protocols.dll │ │ │ ├── WebApp-OpenIDConnect-DotNet.Views.dll │ │ │ ├── WebApp-OpenIDConnect-DotNet.Views.pdb │ │ │ ├── Azure.Security.KeyVault.Certificates.dll │ │ │ ├── Microsoft.IdentityModel.JsonWebTokens.dll │ │ │ ├── Microsoft.Identity.Client.Extensions.Msal.dll │ │ │ ├── appsettings.Development.json │ │ │ ├── System.Security.Cryptography.ProtectedData.dll │ │ │ ├── Microsoft.AspNetCore.Authentication.JwtBearer.dll │ │ │ ├── Microsoft.IdentityModel.Protocols.OpenIdConnect.dll │ │ │ ├── Microsoft.AspNetCore.Authentication.OpenIdConnect.dll │ │ │ ├── WebApp-OpenIDConnect-DotNet.runtimeconfig.dev.json │ │ │ ├── runtimes │ │ │ └── win │ │ │ │ └── lib │ │ │ │ └── netstandard2.0 │ │ │ │ └── System.Security.Cryptography.ProtectedData.dll │ │ │ ├── WebApp-OpenIDConnect-DotNet.runtimeconfig.json │ │ │ └── appsettings.json │ ├── appsettings.Development.json │ ├── Models │ │ └── ErrorViewModel.cs │ ├── Program.cs │ ├── appsettings.json │ ├── Controllers │ │ └── HomeController.cs │ ├── WebApp-OpenIDConnect-DotNet.csproj │ └── WebApp-OpenIDConnect-DotNet.sln └── .gitignore ├── spa-angular-auth-oidc-client ├── source-code │ ├── src │ │ ├── assets │ │ │ └── .gitkeep │ │ ├── app │ │ │ ├── app.component.css │ │ │ ├── app.component.spec.ts │ │ │ ├── app.component.html │ │ │ ├── auth.config.ts │ │ │ └── app.component.ts │ │ ├── environments │ │ │ ├── environment.prod.ts │ │ │ └── environment.ts │ │ ├── styles.css │ │ ├── favicon.ico │ │ ├── tsconfig.app.json │ │ ├── tslint.json │ │ ├── tsconfig.spec.json │ │ ├── index.html │ │ ├── main.ts │ │ ├── browserslist │ │ ├── test.ts │ │ └── karma.conf.js │ ├── e2e │ │ ├── tsconfig.e2e.json │ │ ├── src │ │ │ ├── app.po.ts │ │ │ └── app.e2e-spec.ts │ │ └── protractor.conf.js │ ├── .editorconfig │ ├── tsconfig.json │ ├── .gitignore │ ├── README.md │ └── package.json └── media │ └── angular-app.png ├── spa-angular-oauth2-oidc ├── source-code │ └── my-app │ │ ├── src │ │ ├── assets │ │ │ └── .gitkeep │ │ ├── app │ │ │ ├── app.component.scss │ │ │ ├── app.module.ts │ │ │ ├── auth.config.ts │ │ │ ├── app.component.spec.ts │ │ │ └── app.component.html │ │ ├── environments │ │ │ ├── environment.prod.ts │ │ │ └── environment.ts │ │ ├── styles.scss │ │ ├── favicon.ico │ │ ├── tsconfig.app.json │ │ ├── tslint.json │ │ ├── tsconfig.spec.json │ │ ├── index.html │ │ ├── main.ts │ │ ├── browserslist │ │ ├── test.ts │ │ └── karma.conf.js │ │ ├── e2e │ │ ├── tsconfig.e2e.json │ │ ├── src │ │ │ ├── app.po.ts │ │ │ └── app.e2e-spec.ts │ │ └── protractor.conf.js │ │ ├── .editorconfig │ │ ├── tsconfig.json │ │ ├── .gitignore │ │ ├── README.md │ │ └── package.json └── media │ └── angular-app.png ├── mobile-react-native-ios-android-appauth └── source-code │ ├── .watchmanconfig │ ├── .gitattributes │ ├── app.json │ ├── ios │ ├── Pods │ │ ├── Headers │ │ │ ├── Private │ │ │ │ └── AppAuth │ │ │ │ │ ├── AppAuth.h │ │ │ │ │ ├── OIDDefines.h │ │ │ │ │ ├── OIDError.h │ │ │ │ │ ├── OIDIDToken.h │ │ │ │ │ ├── OIDScopes.h │ │ │ │ │ ├── OIDAuthState.h │ │ │ │ │ ├── OIDFieldMapping.h │ │ │ │ │ ├── OIDGrantTypes.h │ │ │ │ │ ├── OIDTokenRequest.h │ │ │ │ │ ├── OIDErrorUtilities.h │ │ │ │ │ ├── OIDResponseTypes.h │ │ │ │ │ ├── OIDScopeUtilities.h │ │ │ │ │ ├── OIDTokenResponse.h │ │ │ │ │ ├── OIDTokenUtilities.h │ │ │ │ │ ├── OIDAuthState+IOS.h │ │ │ │ │ ├── OIDExternalUserAgent.h │ │ │ │ │ ├── OIDServiceDiscovery.h │ │ │ │ │ ├── OIDURLQueryComponent.h │ │ │ │ │ ├── OIDRegistrationRequest.h │ │ │ │ │ ├── OIDURLSessionProvider.h │ │ │ │ │ ├── OIDAuthStateErrorDelegate.h │ │ │ │ │ ├── OIDAuthorizationRequest.h │ │ │ │ │ ├── OIDAuthorizationResponse.h │ │ │ │ │ ├── OIDAuthorizationService.h │ │ │ │ │ ├── OIDExternalUserAgentIOS.h │ │ │ │ │ ├── OIDRegistrationResponse.h │ │ │ │ │ ├── OIDServiceConfiguration.h │ │ │ │ │ ├── OIDAuthStateChangeDelegate.h │ │ │ │ │ ├── OIDAuthorizationFlowSession.h │ │ │ │ │ ├── OIDClientMetadataParameters.h │ │ │ │ │ ├── OIDExternalUserAgentRequest.h │ │ │ │ │ ├── OIDExternalUserAgentSession.h │ │ │ │ │ ├── OIDAuthorizationService+IOS.h │ │ │ │ │ └── OIDExternalUserAgentIOSCustomBrowser.h │ │ │ └── Public │ │ │ │ └── AppAuth │ │ │ │ ├── AppAuth.h │ │ │ │ ├── OIDError.h │ │ │ │ ├── OIDDefines.h │ │ │ │ ├── OIDIDToken.h │ │ │ │ ├── OIDScopes.h │ │ │ │ ├── OIDAuthState.h │ │ │ │ ├── OIDGrantTypes.h │ │ │ │ ├── OIDFieldMapping.h │ │ │ │ ├── OIDTokenRequest.h │ │ │ │ ├── OIDAuthState+IOS.h │ │ │ │ ├── OIDErrorUtilities.h │ │ │ │ ├── OIDResponseTypes.h │ │ │ │ ├── OIDScopeUtilities.h │ │ │ │ ├── OIDTokenResponse.h │ │ │ │ ├── OIDTokenUtilities.h │ │ │ │ ├── OIDExternalUserAgent.h │ │ │ │ ├── OIDServiceDiscovery.h │ │ │ │ ├── OIDURLQueryComponent.h │ │ │ │ ├── OIDAuthorizationRequest.h │ │ │ │ ├── OIDAuthorizationService.h │ │ │ │ ├── OIDRegistrationRequest.h │ │ │ │ ├── OIDRegistrationResponse.h │ │ │ │ ├── OIDServiceConfiguration.h │ │ │ │ ├── OIDURLSessionProvider.h │ │ │ │ ├── OIDAuthStateErrorDelegate.h │ │ │ │ ├── OIDAuthorizationResponse.h │ │ │ │ ├── OIDExternalUserAgentIOS.h │ │ │ │ ├── OIDAuthStateChangeDelegate.h │ │ │ │ ├── OIDAuthorizationFlowSession.h │ │ │ │ ├── OIDClientMetadataParameters.h │ │ │ │ ├── OIDExternalUserAgentRequest.h │ │ │ │ ├── OIDExternalUserAgentSession.h │ │ │ │ ├── OIDAuthorizationService+IOS.h │ │ │ │ └── OIDExternalUserAgentIOSCustomBrowser.h │ │ ├── Target Support Files │ │ │ ├── AppAuth │ │ │ │ ├── AppAuth-dummy.m │ │ │ │ ├── AppAuth-prefix.pch │ │ │ │ └── AppAuth.xcconfig │ │ │ └── Pods-b2creact │ │ │ │ ├── Pods-b2creact-dummy.m │ │ │ │ ├── Pods-b2creact.debug.xcconfig │ │ │ │ └── Pods-b2creact.release.xcconfig │ │ ├── Manifest.lock │ │ └── AppAuth │ │ │ └── Source │ │ │ ├── OIDResponseTypes.m │ │ │ ├── OIDScopes.m │ │ │ ├── OIDGrantTypes.m │ │ │ ├── OIDResponseTypes.h │ │ │ ├── OIDURLSessionProvider.m │ │ │ ├── OIDClientMetadataParameters.m │ │ │ ├── OIDAuthStateChangeDelegate.h │ │ │ ├── OIDURLSessionProvider.h │ │ │ ├── iOS │ │ │ ├── OIDAuthorizationService+IOS.m │ │ │ └── OIDAuthState+IOS.m │ │ │ └── OIDGrantTypes.h │ ├── Podfile │ ├── b2creact │ │ ├── Images.xcassets │ │ │ ├── Contents.json │ │ │ └── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ ├── main.m │ │ └── AppDelegate.h │ ├── b2creact.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ ├── Podfile.lock │ ├── b2creactTests │ │ └── Info.plist │ └── b2creact-tvOSTests │ │ └── Info.plist │ ├── babel.config.js │ ├── android │ ├── app │ │ ├── src │ │ │ ├── main │ │ │ │ ├── res │ │ │ │ │ ├── values │ │ │ │ │ │ ├── strings.xml │ │ │ │ │ │ └── styles.xml │ │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ │ └── mipmap-xxxhdpi │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── java │ │ │ │ │ └── com │ │ │ │ │ │ └── b2creact │ │ │ │ │ │ ├── MainActivity.java │ │ │ │ │ │ └── MainApplication.java │ │ │ │ └── AndroidManifest.xml │ │ │ └── debug │ │ │ │ └── AndroidManifest.xml │ │ ├── build_defs.bzl │ │ ├── proguard-rules.pro │ │ └── BUCK │ ├── keystores │ │ ├── debug.keystore.properties │ │ └── BUCK │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── settings.gradle │ ├── gradle.properties │ └── build.gradle │ ├── .buckconfig │ ├── assets │ └── background.jpg │ ├── index.js │ ├── components │ ├── index.js │ ├── ButtonContainer.js │ ├── Heading.js │ ├── Form.js │ ├── Page.js │ └── Button.js │ ├── __tests__ │ └── App-test.js │ ├── metro.config.js │ ├── package.json │ └── .gitignore ├── web-nodejs-msal-embeddedSignin ├── .deployment ├── public │ └── images │ │ ├── spinner.gif │ │ └── CloudLogo.gif ├── .vscode │ └── settings.json ├── package.json ├── config │ └── policies.js └── policies │ └── LocalAccounts │ ├── ProfileEdit.xml │ ├── PasswordReset.xml │ └── TrustFrameworkExtensions.xml ├── web-nodejs-passportjs-embeddedSignin ├── .deployment ├── .vscode │ ├── settings.json │ └── launch.json ├── public │ └── images │ │ ├── spinner.gif │ │ └── CloudLogo.gif ├── package.json └── policies │ └── LocalAccounts │ ├── ProfileEdit.xml │ ├── PasswordReset.xml │ └── TrustFrameworkExtensions.xml ├── rest-api-node-js └── media │ └── postman.png ├── rest-api-dotnet-core └── media │ └── create-webapi-vs.png ├── rest-api-dotnet-fw-owin └── media │ └── create-webapi-vs.png ├── web-dotnet-fw-owin-oidc └── media │ └── create-webapi-vs.png ├── web-dotnet-fw-owin-auth-code └── media │ └── create-webapi-vs.png ├── web-java-springboot-saml └── media │ ├── web-java-springboot-saml-01.png │ ├── web-java-springboot-saml-02.png │ ├── web-java-springboot-saml-03.png │ └── web-java-springboot-saml-04.png ├── spa-hellojs └── source-code │ ├── .Net-Core-API-RBAC │ ├── MultiBearerAPI │ │ ├── appsettings.Development.json │ │ ├── MultiBearerAPI.csproj │ │ ├── Program.cs │ │ ├── Properties │ │ │ └── launchSettings.json │ │ └── appsettings.json │ └── MultiBearerAPI.sln │ ├── B2C-v2jsapp │ ├── Web.config │ ├── redirect.html │ ├── css │ │ └── redirect.css │ └── Properties │ │ └── AssemblyInfo.cs │ ├── B2C-v2jsapp.sln │ └── LICENSE ├── spa-hellojs-popup └── source-code │ ├── .Net-Core-API-RBAC │ ├── MultiBearerAPI │ │ ├── appsettings.Development.json │ │ ├── MultiBearerAPI.csproj │ │ ├── Program.cs │ │ ├── Properties │ │ │ └── launchSettings.json │ │ └── appsettings.json │ └── MultiBearerAPI.sln │ ├── B2C-v2jsapp │ ├── Web.config │ ├── redirect.html │ ├── css │ │ └── redirect.css │ └── Properties │ │ └── AssemblyInfo.cs │ ├── B2C-v2jsapp.sln │ └── LICENSE └── web-java-springboot-api ├── .gitignore ├── Dockerfile2 ├── src └── main │ ├── java │ └── com │ │ └── fawltytowers2 │ │ └── javarestapib2c │ │ ├── Application.java │ │ ├── model │ │ └── Item.java │ │ └── security │ │ └── CachingConfig.java │ └── resources │ └── application.properties └── Dockerfile /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/Placeholder.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/spa-angular-auth-oidc-client/source-code/src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/spa-angular-oauth2-oidc/source-code/my-app/src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/wwwroot/js/site.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/spa-angular-auth-oidc-client/source-code/src/app/app.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /apps/spa-angular-oauth2-oidc/source-code/my-app/src/app/app.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/.gitignore: -------------------------------------------------------------------------------- 1 | ./vs 2 | ./obj 3 | ./bin 4 | ./idea -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/obj/rider.project.restore.info: -------------------------------------------------------------------------------- 1 | 16200615710550444 -------------------------------------------------------------------------------- /apps/web-nodejs-msal-embeddedSignin/.deployment: -------------------------------------------------------------------------------- 1 | [config] 2 | SCM_DO_BUILD_DURING_DEPLOYMENT=true -------------------------------------------------------------------------------- /apps/web-nodejs-passportjs-embeddedSignin/.deployment: -------------------------------------------------------------------------------- 1 | [config] 2 | SCM_DO_BUILD_DURING_DEPLOYMENT=true -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/obj/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.csproj.CopyComplete: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/obj/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.TagHelpers.input.cache: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "b2creact", 3 | "displayName": "b2creact" 4 | } -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/AppAuth.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/AppAuth.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/AppAuth.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/AppAuth.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDError.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDError.h -------------------------------------------------------------------------------- /apps/rest-api-node-js/media/postman.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/rest-api-node-js/media/postman.png -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDDefines.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDDefines.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDError.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDError.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDIDToken.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDIDToken.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDScopes.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDScopes.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDDefines.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDDefines.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDIDToken.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDIDToken.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDScopes.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDScopes.h -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/obj/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.MvcApplicationPartsAssemblyInfo.cache: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDAuthState.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDAuthState.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDAuthState.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDAuthState.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDGrantTypes.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDGrantTypes.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDFieldMapping.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDFieldMapping.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDGrantTypes.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDGrantTypes.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDTokenRequest.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDTokenRequest.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDFieldMapping.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDFieldMapping.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDTokenRequest.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDTokenRequest.h -------------------------------------------------------------------------------- /apps/spa-angular-auth-oidc-client/source-code/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true 3 | }; 4 | -------------------------------------------------------------------------------- /apps/spa-angular-auth-oidc-client/source-code/src/styles.css: -------------------------------------------------------------------------------- 1 | /* You can add global styles to this file, and also import other style files */ 2 | -------------------------------------------------------------------------------- /apps/spa-angular-oauth2-oidc/source-code/my-app/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true 3 | }; 4 | -------------------------------------------------------------------------------- /apps/spa-angular-oauth2-oidc/source-code/my-app/src/styles.scss: -------------------------------------------------------------------------------- 1 | /* You can add global styles to this file, and also import other style files */ 2 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/obj/Debug/netcoreapp3.1/staticwebassets/WebApp-OpenIDConnect-DotNet.StaticWebAssets.Manifest.cache: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDErrorUtilities.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDErrorUtilities.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDResponseTypes.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDResponseTypes.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDScopeUtilities.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDScopeUtilities.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDTokenResponse.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDTokenResponse.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDTokenUtilities.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDTokenUtilities.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDAuthState+IOS.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/iOS/OIDAuthState+IOS.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDErrorUtilities.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDErrorUtilities.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDResponseTypes.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDResponseTypes.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDScopeUtilities.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDScopeUtilities.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDTokenResponse.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDTokenResponse.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDTokenUtilities.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDTokenUtilities.h -------------------------------------------------------------------------------- /apps/spa-angular-oauth2-oidc/media/angular-app.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/spa-angular-oauth2-oidc/media/angular-app.png -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDAuthState+IOS.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/iOS/OIDAuthState+IOS.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDExternalUserAgent.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDExternalUserAgent.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDServiceDiscovery.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDServiceDiscovery.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDURLQueryComponent.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDURLQueryComponent.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDExternalUserAgent.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDExternalUserAgent.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDServiceDiscovery.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDServiceDiscovery.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDURLQueryComponent.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDURLQueryComponent.h -------------------------------------------------------------------------------- /apps/rest-api-dotnet-core/media/create-webapi-vs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/rest-api-dotnet-core/media/create-webapi-vs.png -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['module:metro-react-native-babel-preset'], 3 | }; 4 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Podfile: -------------------------------------------------------------------------------- 1 | platform :ios, '11.0' 2 | 3 | target 'b2creact' do 4 | pod 'AppAuth', '>= 0.94' 5 | end 6 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDRegistrationRequest.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDRegistrationRequest.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDURLSessionProvider.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDURLSessionProvider.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDAuthorizationRequest.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDAuthorizationRequest.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDAuthorizationService.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDAuthorizationService.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDRegistrationRequest.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDRegistrationRequest.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDRegistrationResponse.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDRegistrationResponse.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDServiceConfiguration.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDServiceConfiguration.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDURLSessionProvider.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDURLSessionProvider.h -------------------------------------------------------------------------------- /apps/rest-api-dotnet-fw-owin/media/create-webapi-vs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/rest-api-dotnet-fw-owin/media/create-webapi-vs.png -------------------------------------------------------------------------------- /apps/spa-angular-auth-oidc-client/media/angular-app.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/spa-angular-auth-oidc-client/media/angular-app.png -------------------------------------------------------------------------------- /apps/web-dotnet-fw-owin-oidc/media/create-webapi-vs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-fw-owin-oidc/media/create-webapi-vs.png -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDAuthStateErrorDelegate.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDAuthStateErrorDelegate.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDAuthorizationRequest.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDAuthorizationRequest.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDAuthorizationResponse.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDAuthorizationResponse.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDAuthorizationService.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDAuthorizationService.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDExternalUserAgentIOS.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/iOS/OIDExternalUserAgentIOS.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDRegistrationResponse.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDRegistrationResponse.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDServiceConfiguration.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDServiceConfiguration.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDAuthStateErrorDelegate.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDAuthStateErrorDelegate.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDAuthorizationResponse.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDAuthorizationResponse.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDExternalUserAgentIOS.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/iOS/OIDExternalUserAgentIOS.h -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/obj/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | ceffb07ae18d209249acb7cd98eb0f896177ad61 2 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/obj/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.RazorAssemblyInfo.cache: -------------------------------------------------------------------------------- 1 | 478ef947d8a2f044bb35c8bbfec051865e3227d3 2 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/obj/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.RazorCoreGenerate.cache: -------------------------------------------------------------------------------- 1 | a7979db8fa16cd6444a92a4daa2203004ee4095f 2 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/obj/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.genruntimeconfig.cache: -------------------------------------------------------------------------------- 1 | f8bb22eb33105588f70c0da9fee6cef874f153b5 2 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/obj/Debug/netcoreapp3.1/staticwebassets/WebApp-OpenIDConnect-DotNet.StaticWebAssets.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDAuthStateChangeDelegate.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDAuthStateChangeDelegate.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDAuthorizationFlowSession.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDAuthorizationFlowSession.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDClientMetadataParameters.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDClientMetadataParameters.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDExternalUserAgentRequest.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDExternalUserAgentRequest.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDExternalUserAgentSession.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDExternalUserAgentSession.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDAuthStateChangeDelegate.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDAuthStateChangeDelegate.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDAuthorizationFlowSession.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDAuthorizationFlowSession.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDClientMetadataParameters.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDClientMetadataParameters.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDExternalUserAgentRequest.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDExternalUserAgentRequest.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDExternalUserAgentSession.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/OIDExternalUserAgentSession.h -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/obj/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.RazorTargetAssemblyInfo.cache: -------------------------------------------------------------------------------- 1 | b4a36dafc0e0f64c438ea89ea98f999e4c880d39 2 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/obj/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 24acbc3fd77ae0d6d692b96aa4ad2559dc100d8b 2 | -------------------------------------------------------------------------------- /apps/web-dotnet-fw-owin-auth-code/media/create-webapi-vs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-fw-owin-auth-code/media/create-webapi-vs.png -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDAuthorizationService+IOS.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/iOS/OIDAuthorizationService+IOS.h -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDAuthorizationService+IOS.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/iOS/OIDAuthorizationService+IOS.h -------------------------------------------------------------------------------- /apps/spa-angular-auth-oidc-client/source-code/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/spa-angular-auth-oidc-client/source-code/src/favicon.ico -------------------------------------------------------------------------------- /apps/web-nodejs-msal-embeddedSignin/public/images/spinner.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-nodejs-msal-embeddedSignin/public/images/spinner.gif -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | b2creact 3 | 4 | -------------------------------------------------------------------------------- /apps/spa-angular-oauth2-oidc/source-code/my-app/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/spa-angular-oauth2-oidc/source-code/my-app/src/favicon.ico -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/Properties/serviceDependencies.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "secrets1": { 4 | "type": "secrets" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/wwwroot/favicon.ico -------------------------------------------------------------------------------- /apps/web-nodejs-msal-embeddedSignin/public/images/CloudLogo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-nodejs-msal-embeddedSignin/public/images/CloudLogo.gif -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/b2creact/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /apps/web-java-springboot-saml/media/web-java-springboot-saml-01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-java-springboot-saml/media/web-java-springboot-saml-01.png -------------------------------------------------------------------------------- /apps/web-java-springboot-saml/media/web-java-springboot-saml-02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-java-springboot-saml/media/web-java-springboot-saml-02.png -------------------------------------------------------------------------------- /apps/web-java-springboot-saml/media/web-java-springboot-saml-03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-java-springboot-saml/media/web-java-springboot-saml-03.png -------------------------------------------------------------------------------- /apps/web-java-springboot-saml/media/web-java-springboot-saml-04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-java-springboot-saml/media/web-java-springboot-saml-04.png -------------------------------------------------------------------------------- /apps/web-nodejs-passportjs-embeddedSignin/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "appService.zipIgnorePattern": [ 3 | "node_modules{,/**}", 4 | ".vscode{,/**}" 5 | ] 6 | } -------------------------------------------------------------------------------- /apps/web-nodejs-passportjs-embeddedSignin/public/images/spinner.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-nodejs-passportjs-embeddedSignin/public/images/spinner.gif -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Public/AppAuth/OIDExternalUserAgentIOSCustomBrowser.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/iOS/OIDExternalUserAgentIOSCustomBrowser.h -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/Properties/serviceDependencies.local.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "secrets1": { 4 | "type": "secrets.user" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/ReadmeFiles/sign-in.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/ReadmeFiles/sign-in.png -------------------------------------------------------------------------------- /apps/web-nodejs-passportjs-embeddedSignin/public/images/CloudLogo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-nodejs-passportjs-embeddedSignin/public/images/CloudLogo.gif -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Headers/Private/AppAuth/OIDExternalUserAgentIOSCustomBrowser.h: -------------------------------------------------------------------------------- 1 | ../../../AppAuth/Source/iOS/OIDExternalUserAgentIOSCustomBrowser.h -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/ReadmeFiles/v2-variations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/ReadmeFiles/v2-variations.png -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/assets/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/mobile-react-native-ios-android-appauth/source-code/assets/background.jpg -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using WebApp_OpenIDConnect_DotNet 2 | @using WebApp_OpenIDConnect_DotNet.Models 3 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 4 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/android/keystores/debug.keystore.properties: -------------------------------------------------------------------------------- 1 | key.store=debug.keystore 2 | key.alias=androiddebugkey 3 | key.store.password=android 4 | key.alias.password=android 5 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Azure.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Azure.Core.dll -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/Views/Home/Privacy.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | ViewData["Title"] = "Privacy Policy"; 3 | } 4 |

@ViewData["Title"]

5 | 6 |

Use this page to detail your site's privacy policy.

7 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Azure.Identity.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Azure.Identity.dll -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Newtonsoft.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Newtonsoft.Json.dll -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Target Support Files/AppAuth/AppAuth-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_AppAuth : NSObject 3 | @end 4 | @implementation PodsDummy_AppAuth 5 | @end 6 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Microsoft.Identity.Web.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Microsoft.Identity.Web.dll -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/mobile-react-native-ios-android-appauth/source-code/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Microsoft.Identity.Client.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Microsoft.Identity.Client.dll -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Microsoft.Identity.Web.UI.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Microsoft.Identity.Web.UI.dll -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/System.Text.Encodings.Web.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/System.Text.Encodings.Web.dll -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Debug", 5 | "System": "Information", 6 | "Microsoft": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.dll -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.pdb -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/obj/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/obj/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.dll -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/obj/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/obj/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.pdb -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = "debug", 3 | properties = "debug.keystore.properties", 4 | store = "debug.keystore", 5 | visibility = [ 6 | "PUBLIC", 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Azure.Security.KeyVault.Secrets.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Azure.Security.KeyVault.Secrets.dll -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Microsoft.Bcl.AsyncInterfaces.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Microsoft.Bcl.AsyncInterfaces.dll -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Microsoft.Identity.Web.UI.Views.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Microsoft.Identity.Web.UI.Views.dll -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.Logging.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.Logging.dll -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.Tokens.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.Tokens.dll -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/System.IdentityModel.Tokens.Jwt.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/System.IdentityModel.Tokens.Jwt.dll -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.Protocols.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.Protocols.dll -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.Views.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.Views.dll -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.Views.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.Views.pdb -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/obj/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.Views.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/obj/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.Views.dll -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/obj/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.Views.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/obj/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.Views.pdb -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/mobile-react-native-ios-android-appauth/source-code/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/mobile-react-native-ios-android-appauth/source-code/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/mobile-react-native-ios-android-appauth/source-code/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Target Support Files/Pods-b2creact/Pods-b2creact-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_b2creact : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_b2creact 5 | @end 6 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Azure.Security.KeyVault.Certificates.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Azure.Security.KeyVault.Certificates.dll -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/obj/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/obj/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.assets.cache -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/mobile-react-native-ios-android-appauth/source-code/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/mobile-react-native-ios-android-appauth/source-code/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /apps/spa-hellojs/source-code/.Net-Core-API-RBAC/MultiBearerAPI/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Debug", 5 | "System": "Information", 6 | "Microsoft": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.JsonWebTokens.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.JsonWebTokens.dll -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/mobile-react-native-ios-android-appauth/source-code/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/mobile-react-native-ios-android-appauth/source-code/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /apps/spa-hellojs-popup/source-code/.Net-Core-API-RBAC/MultiBearerAPI/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Debug", 5 | "System": "Information", 6 | "Microsoft": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Microsoft.Identity.Client.Extensions.Msal.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Microsoft.Identity.Client.Extensions.Msal.dll -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Debug", 5 | "System": "Information", 6 | "Microsoft": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/mobile-react-native-ios-android-appauth/source-code/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/mobile-react-native-ios-android-appauth/source-code/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/System.Security.Cryptography.ProtectedData.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/System.Security.Cryptography.ProtectedData.dll -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/mobile-react-native-ios-android-appauth/source-code/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /apps/spa-angular-auth-oidc-client/source-code/src/tsconfig.app.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../out-tsc/app", 5 | "types": [] 6 | }, 7 | "exclude": [ 8 | "test.ts", 9 | "**/*.spec.ts" 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /apps/spa-angular-oauth2-oidc/source-code/my-app/src/tsconfig.app.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../out-tsc/app", 5 | "types": [] 6 | }, 7 | "exclude": [ 8 | "test.ts", 9 | "**/*.spec.ts" 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Microsoft.AspNetCore.Authentication.JwtBearer.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Microsoft.AspNetCore.Authentication.JwtBearer.dll -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @format 3 | */ 4 | 5 | import {AppRegistry} from 'react-native'; 6 | import App from './App'; 7 | import {name as appName} from './app.json'; 8 | 9 | AppRegistry.registerComponent(appName, () => App); 10 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Microsoft.AspNetCore.Authentication.OpenIdConnect.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/Microsoft.AspNetCore.Authentication.OpenIdConnect.dll -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/wwwroot/js/site.js: -------------------------------------------------------------------------------- 1 | // Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification 2 | // for details on configuring this project to bundle and minify static web assets. 3 | 4 | // Write your JavaScript code. 5 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'b2creact' 2 | include ':react-native-app-auth' 3 | project(':react-native-app-auth').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-app-auth/android') 4 | 5 | include ':app' 6 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/obj/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/obj/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/Models/ErrorViewModel.cs: -------------------------------------------------------------------------------- 1 | namespace WebApp_OpenIDConnect_DotNet.Models 2 | { 3 | public class ErrorViewModel 4 | { 5 | public string RequestId { get; set; } 6 | 7 | public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); 8 | } 9 | } -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "/Users/hazemelshabini/.dotnet/store/|arch|/|tfm|", 5 | "/Users/hazemelshabini/.nuget/packages" 6 | ] 7 | } 8 | } -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/obj/Debug/netcoreapp3.1/.NETCoreApp,Version=v3.1.AssemblyAttributes.cs: -------------------------------------------------------------------------------- 1 | // 2 | using System; 3 | using System.Reflection; 4 | [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.1", FrameworkDisplayName = "")] 5 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /apps/spa-angular-auth-oidc-client/source-code/e2e/tsconfig.e2e.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../out-tsc/app", 5 | "module": "commonjs", 6 | "target": "es5", 7 | "types": [ 8 | "jasmine", 9 | "jasminewd2", 10 | "node" 11 | ] 12 | } 13 | } -------------------------------------------------------------------------------- /apps/spa-angular-oauth2-oidc/source-code/my-app/e2e/tsconfig.e2e.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../out-tsc/app", 5 | "module": "commonjs", 6 | "target": "es5", 7 | "types": [ 8 | "jasmine", 9 | "jasminewd2", 10 | "node" 11 | ] 12 | } 13 | } -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azure-ad-b2c/apps/HEAD/apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/wwwroot/css/site.min.css: -------------------------------------------------------------------------------- 1 | body{padding-top:50px;padding-bottom:20px}.body-content{padding-left:15px;padding-right:15px}.carousel-caption p{font-size:20px;line-height:1.4}.carousel-inner .item img[src$=".svg"]{width:100%}#qrCode{margin:15px}@media screen and (max-width:767px){.carousel-caption{display:none}} -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/components/index.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | export { default as Button } from './Button'; 4 | export { default as ButtonContainer } from './ButtonContainer'; 5 | export { default as Form } from './Form'; 6 | export { default as Heading } from './Heading'; 7 | export { default as Page } from './Page'; 8 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/components/ButtonContainer.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | import styled from 'styled-components/native'; 4 | 5 | export default styled.View` 6 | position: absolute; 7 | left: 0; 8 | right: 0; 9 | bottom: 0; 10 | align-self: flex-end; 11 | flex-direction: row; 12 | margin: 5px; 13 | `; 14 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Target Support Files/AppAuth/AppAuth-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /apps/spa-angular-auth-oidc-client/source-code/.editorconfig: -------------------------------------------------------------------------------- 1 | # Editor configuration, see https://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | indent_style = space 7 | indent_size = 2 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | 11 | [*.md] 12 | max_line_length = off 13 | trim_trailing_whitespace = false 14 | -------------------------------------------------------------------------------- /apps/spa-angular-auth-oidc-client/source-code/e2e/src/app.po.ts: -------------------------------------------------------------------------------- 1 | import { browser, by, element } from 'protractor'; 2 | 3 | export class AppPage { 4 | navigateTo() { 5 | return browser.get(browser.baseUrl) as Promise; 6 | } 7 | 8 | getTitleText() { 9 | return element(by.css('app-root h1')).getText() as Promise; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /apps/spa-angular-oauth2-oidc/source-code/my-app/.editorconfig: -------------------------------------------------------------------------------- 1 | # Editor configuration, see https://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | indent_style = space 7 | indent_size = 2 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | 11 | [*.md] 12 | max_line_length = off 13 | trim_trailing_whitespace = false 14 | -------------------------------------------------------------------------------- /apps/spa-angular-oauth2-oidc/source-code/my-app/e2e/src/app.po.ts: -------------------------------------------------------------------------------- 1 | import { browser, by, element } from 'protractor'; 2 | 3 | export class AppPage { 4 | navigateTo() { 5 | return browser.get(browser.baseUrl) as Promise; 6 | } 7 | 8 | getTitleText() { 9 | return element(by.css('app-root h1')).getText() as Promise; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/b2creact.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/b2creact.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /apps/spa-angular-auth-oidc-client/source-code/src/tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tslint.json", 3 | "rules": { 4 | "directive-selector": [ 5 | true, 6 | "attribute", 7 | "app", 8 | "camelCase" 9 | ], 10 | "component-selector": [ 11 | true, 12 | "element", 13 | "app", 14 | "kebab-case" 15 | ] 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /apps/spa-angular-oauth2-oidc/source-code/my-app/src/tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tslint.json", 3 | "rules": { 4 | "directive-selector": [ 5 | true, 6 | "attribute", 7 | "app", 8 | "camelCase" 9 | ], 10 | "component-selector": [ 11 | true, 12 | "element", 13 | "app", 14 | "kebab-case" 15 | ] 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/obj/WebApp-OpenIDConnect-DotNet.csproj.nuget.g.targets: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 5 | 6 | -------------------------------------------------------------------------------- /apps/web-nodejs-msal-embeddedSignin/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "appService.zipIgnorePattern": [ 3 | "node_modules{,/**}", 4 | ".vscode{,/**}" 5 | ], 6 | "appService.defaultWebAppToDeploy": "/subscriptions/aa8117d3-52c1-498f-b290-e2e93ced281f/resourceGroups/AppServiceRG/providers/Microsoft.Web/sites/B2CEmbeddedSigninAppMSAL", 7 | "appService.deploySubpath": "." 8 | } -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/__tests__/App-test.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @format 3 | */ 4 | 5 | import 'react-native'; 6 | import React from 'react'; 7 | import App from '../App'; 8 | 9 | // Note: test renderer must be required after react-native. 10 | import renderer from 'react-test-renderer'; 11 | 12 | it('renders correctly', () => { 13 | renderer.create(); 14 | }); 15 | -------------------------------------------------------------------------------- /apps/spa-angular-auth-oidc-client/source-code/src/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../out-tsc/spec", 5 | "types": [ 6 | "jasmine", 7 | "node" 8 | ] 9 | }, 10 | "files": [ 11 | "test.ts", 12 | "polyfills.ts" 13 | ], 14 | "include": [ 15 | "**/*.spec.ts", 16 | "**/*.d.ts" 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /apps/spa-angular-oauth2-oidc/source-code/my-app/src/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../out-tsc/spec", 5 | "types": [ 6 | "jasmine", 7 | "node" 8 | ] 9 | }, 10 | "files": [ 11 | "test.ts", 12 | "polyfills.ts" 13 | ], 14 | "include": [ 15 | "**/*.spec.ts", 16 | "**/*.d.ts" 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /apps/spa-angular-auth-oidc-client/source-code/src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | MyApp 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /apps/spa-angular-oauth2-oidc/source-code/my-app/src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | MyApp 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AppAuth (0.95.1) 3 | 4 | DEPENDENCIES: 5 | - AppAuth (>= 0.94) 6 | 7 | SPEC REPOS: 8 | https://github.com/cocoapods/specs.git: 9 | - AppAuth 10 | 11 | SPEC CHECKSUMS: 12 | AppAuth: cd34aac431e5c77c46ec7f03935377faa8c5808b 13 | 14 | PODFILE CHECKSUM: 49a2d5c99c59508b48d478f5ec4e66cfe3c4c567 15 | 16 | COCOAPODS: 1.6.1 17 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AppAuth (0.95.1) 3 | 4 | DEPENDENCIES: 5 | - AppAuth (>= 0.94) 6 | 7 | SPEC REPOS: 8 | https://github.com/cocoapods/specs.git: 9 | - AppAuth 10 | 11 | SPEC CHECKSUMS: 12 | AppAuth: cd34aac431e5c77c46ec7f03935377faa8c5808b 13 | 14 | PODFILE CHECKSUM: 49a2d5c99c59508b48d478f5ec4e66cfe3c4c567 15 | 16 | COCOAPODS: 1.6.1 17 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/metro.config.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Metro configuration for React Native 3 | * https://github.com/facebook/react-native 4 | * 5 | * @format 6 | */ 7 | 8 | module.exports = { 9 | transformer: { 10 | getTransformOptions: async () => ({ 11 | transform: { 12 | experimentalImportSupport: false, 13 | inlineRequires: false, 14 | }, 15 | }), 16 | }, 17 | }; 18 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp3.1", 4 | "framework": { 5 | "name": "Microsoft.AspNetCore.App", 6 | "version": "3.1.0" 7 | }, 8 | "configProperties": { 9 | "System.GC.Server": true, 10 | "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /apps/spa-angular-auth-oidc-client/source-code/src/main.ts: -------------------------------------------------------------------------------- 1 | import { enableProdMode } from '@angular/core'; 2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; 3 | 4 | import { AppModule } from './app/app.module'; 5 | import { environment } from './environments/environment'; 6 | 7 | if (environment.production) { 8 | enableProdMode(); 9 | } 10 | 11 | platformBrowserDynamic().bootstrapModule(AppModule) 12 | .catch(err => console.error(err)); 13 | -------------------------------------------------------------------------------- /apps/spa-angular-oauth2-oidc/source-code/my-app/src/main.ts: -------------------------------------------------------------------------------- 1 | import { enableProdMode } from '@angular/core'; 2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; 3 | 4 | import { AppModule } from './app/app.module'; 5 | import { environment } from './environments/environment'; 6 | 7 | if (environment.production) { 8 | enableProdMode(); 9 | } 10 | 11 | platformBrowserDynamic().bootstrapModule(AppModule) 12 | .catch(err => console.error(err)); 13 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /apps/spa-angular-auth-oidc-client/source-code/src/browserslist: -------------------------------------------------------------------------------- 1 | # This file is currently used by autoprefixer to adjust CSS to support the below specified browsers 2 | # For additional information regarding the format and rule options, please see: 3 | # https://github.com/browserslist/browserslist#queries 4 | # 5 | # For IE 9-11 support, please remove 'not' from the last line of the file and adjust as needed 6 | 7 | > 0.5% 8 | last 2 versions 9 | Firefox ESR 10 | not dead 11 | not IE 9-11 -------------------------------------------------------------------------------- /apps/spa-angular-oauth2-oidc/source-code/my-app/src/browserslist: -------------------------------------------------------------------------------- 1 | # This file is currently used by autoprefixer to adjust CSS to support the below specified browsers 2 | # For additional information regarding the format and rule options, please see: 3 | # https://github.com/browserslist/browserslist#queries 4 | # 5 | # For IE 9-11 support, please remove 'not' from the last line of the file and adjust as needed 6 | 7 | > 0.5% 8 | last 2 versions 9 | Firefox ESR 10 | not dead 11 | not IE 9-11 -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/Views/Home/Claims.cshtml: -------------------------------------------------------------------------------- 1 | @using System.Security.Claims 2 | 3 | @{ 4 | ViewData["Title"] = "Claims"; 5 | } 6 |

@ViewData["Title"].

7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | @foreach (Claim claim in User.Claims) 15 | { 16 | 17 | 18 | 19 | 20 | } 21 |
Claim TypeClaim Value
@claim.Type@claim.Value
-------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/components/Heading.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | import { Platform } from 'react-native'; 4 | import styled from 'styled-components/native'; 5 | 6 | const font = Platform.select({ 7 | ios: 'GillSans-light', 8 | android: 'sans-serif-thin' 9 | }); 10 | 11 | export default styled.Text` 12 | color: black; 13 | font-family: ${font}; 14 | font-size: 32px; 15 | margin-top: 120px; 16 | background-color: transparent; 17 | text-align: center; 18 | `; 19 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/b2creact/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/android/app/src/main/java/com/b2creact/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.b2creact; 2 | 3 | import com.facebook.react.ReactActivity; 4 | 5 | public class MainActivity extends ReactActivity { 6 | 7 | /** 8 | * Returns the name of the main component registered from JavaScript. 9 | * This is used to schedule rendering of the component. 10 | */ 11 | @Override 12 | protected String getMainComponentName() { 13 | return "b2creact"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /apps/web-java-springboot-api/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled class file 2 | *.class 3 | 4 | # Log file 5 | *.log 6 | 7 | # BlueJ files 8 | *.ctxt 9 | 10 | # Mobile Tools for Java (J2ME) 11 | .mtj.tmp/ 12 | 13 | # Package Files # 14 | *.jar 15 | *.war 16 | *.nar 17 | *.ear 18 | *.zip 19 | *.tar.gz 20 | *.rar 21 | 22 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml 23 | hs_err_pid* 24 | 25 | .vs/ 26 | .vscode/ 27 | target/ 28 | .settings/ 29 | .classpath 30 | .project 31 | 32 | **/src/main/resources/application-dev.properties 33 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/components/Form.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | import styled from 'styled-components/native'; 4 | 5 | const Form = styled.View` 6 | flex: 1; 7 | `; 8 | 9 | Form.Label = styled.Text` 10 | font-size: 14px; 11 | font-weight: bold; 12 | background-color: transparent; 13 | margin-bottom: 10px; 14 | `; 15 | 16 | Form.Value = styled.Text.attrs({ numberOfLines: 10, ellipsizeMode: 'tail' })` 17 | font-size: 14px; 18 | background-color: transparent; 19 | margin-bottom: 20px; 20 | `; 21 | 22 | export default Form; 23 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/Views/Home/Index.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | ViewData["Title"] = "Home Page"; 3 | } 4 | 5 |

6 | ASP.NET Core web app signing-in users to your Azure AD B2C tenant. 7 |

8 |

9 | This sample shows how to build a .NET Core MVC Web app that uses OpenID Connect to sign in users in an Azure AD B2C tenant. It leverages the ASP.NET Core OpenID Connect middleware. 10 |

11 | -------------------------------------------------------------------------------- /apps/web-java-springboot-api/Dockerfile2: -------------------------------------------------------------------------------- 1 | FROM openjdk:8u181-jdk-slim 2 | ENV PORT 8081 3 | ENV CLASSPATH /opt/lib 4 | EXPOSE 8081 5 | 6 | # copy pom.xml and wildcards to avoid this command failing if there's no target/lib directory 7 | COPY pom.xml target/lib* /opt/lib/ 8 | 9 | # NOTE we assume there's only 1 jar in the target dir 10 | # but at least this means we don't have to guess the name 11 | # we could do with a better way to know the name - or to always create an app.jar or something 12 | COPY target/*.jar /opt/app.jar 13 | WORKDIR /opt 14 | CMD ["java", "-jar", "app.jar"] -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/components/Page.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | import React from 'react'; 4 | import styled from 'styled-components/native'; 5 | 6 | const SafeArea = styled.SafeAreaView` 7 | flex: 1; 8 | `; 9 | 10 | const Background = styled.ImageBackground.attrs({ 11 | source: require('../assets/background.jpg') 12 | })` 13 | flex: 1; 14 | background-color: white; 15 | padding: 40px 10px 10px 10px; 16 | `; 17 | 18 | export default ({ children }) => ( 19 | 20 | {children} 21 | 22 | ); 23 | -------------------------------------------------------------------------------- /apps/spa-angular-auth-oidc-client/source-code/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compileOnSave": false, 3 | "compilerOptions": { 4 | "baseUrl": "./", 5 | "outDir": "./dist/out-tsc", 6 | "sourceMap": true, 7 | "declaration": false, 8 | "module": "es2015", 9 | "moduleResolution": "node", 10 | "emitDecoratorMetadata": true, 11 | "experimentalDecorators": true, 12 | "importHelpers": true, 13 | "target": "es5", 14 | "typeRoots": [ 15 | "node_modules/@types" 16 | ], 17 | "lib": [ 18 | "es2018", 19 | "dom" 20 | ] 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /apps/spa-angular-oauth2-oidc/source-code/my-app/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compileOnSave": false, 3 | "compilerOptions": { 4 | "baseUrl": "./", 5 | "outDir": "./dist/out-tsc", 6 | "sourceMap": true, 7 | "declaration": false, 8 | "module": "es2015", 9 | "moduleResolution": "node", 10 | "emitDecoratorMetadata": true, 11 | "experimentalDecorators": true, 12 | "importHelpers": true, 13 | "target": "es5", 14 | "typeRoots": [ 15 | "node_modules/@types" 16 | ], 17 | "lib": [ 18 | "es2018", 19 | "dom" 20 | ] 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/wwwroot/lib/bootstrap/dist/js/npm.js: -------------------------------------------------------------------------------- 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. 2 | require('../../js/transition.js') 3 | require('../../js/alert.js') 4 | require('../../js/button.js') 5 | require('../../js/carousel.js') 6 | require('../../js/collapse.js') 7 | require('../../js/dropdown.js') 8 | require('../../js/modal.js') 9 | require('../../js/tooltip.js') 10 | require('../../js/popover.js') 11 | require('../../js/scrollspy.js') 12 | require('../../js/tab.js') 13 | require('../../js/affix.js') -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/wwwroot/lib/jquery-validation-unobtrusive/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery-validation-unobtrusive", 3 | "homepage": "https://github.com/aspnet/jquery-validation-unobtrusive", 4 | "version": "3.2.9", 5 | "_release": "3.2.9", 6 | "_resolution": { 7 | "type": "version", 8 | "tag": "v3.2.9", 9 | "commit": "a91f5401898e125f10771c5f5f0909d8c4c82396" 10 | }, 11 | "_source": "https://github.com/aspnet/jquery-validation-unobtrusive.git", 12 | "_target": "^3.2.9", 13 | "_originalSource": "jquery-validation-unobtrusive", 14 | "_direct": true 15 | } -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Target Support Files/Pods-b2creact/Pods-b2creact.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AppAuth" 3 | LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AppAuth" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"AppAuth" -framework "SafariServices" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Target Support Files/Pods-b2creact/Pods-b2creact.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AppAuth" 3 | LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AppAuth" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"AppAuth" -framework "SafariServices" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /apps/web-nodejs-passportjs-embeddedSignin/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // Use IntelliSense to learn about possible attributes. 3 | // Hover to view descriptions of existing attributes. 4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 | "version": "0.2.0", 6 | "configurations": [ 7 | { 8 | "name": "Launch Program", 9 | "program": "${workspaceFolder}/app.js", 10 | "request": "launch", 11 | "skipFiles": [ 12 | "/**" 13 | ], 14 | "type": "pwa-node" 15 | }, 16 | ] 17 | } -------------------------------------------------------------------------------- /apps/spa-hellojs/source-code/B2C-v2jsapp/Web.config: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /apps/spa-hellojs-popup/source-code/B2C-v2jsapp/Web.config: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/Program.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.AspNetCore.Hosting; 2 | using Microsoft.Extensions.Hosting; 3 | 4 | namespace WebApp_OpenIDConnect_DotNet 5 | { 6 | public class Program 7 | { 8 | public static void Main(string[] args) 9 | { 10 | CreateHostBuilder(args).Build().Run(); 11 | } 12 | 13 | public static IHostBuilder CreateHostBuilder(string[] args) => 14 | Host.CreateDefaultBuilder(args) 15 | .ConfigureWebHostDefaults(webBuilder => 16 | { 17 | webBuilder.UseStartup(); 18 | }); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "iisSettings": { 3 | "windowsAuthentication": false, 4 | "anonymousAuthentication": true, 5 | "iisExpress": { 6 | "applicationUrl": "https://localhost:44316/", 7 | "sslPort": 44316 8 | } 9 | }, 10 | "profiles": { 11 | "WebApp_OpenIDConnect_DotNet": { 12 | "commandName": "Project", 13 | "launchBrowser": true, 14 | "environmentVariables": { 15 | "ASPNETCORE_ENVIRONMENT": "Development" 16 | }, 17 | "applicationUrl": "https://localhost:44316/;http://localhost:3110" 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /apps/spa-hellojs/source-code/B2C-v2jsapp/redirect.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | Hello, redirecting... 10 | 11 | 12 | 13 | 14 |

click here to navigate to homepage

15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /apps/spa-hellojs-popup/source-code/B2C-v2jsapp/redirect.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | Hello, redirecting... 10 | 11 | 12 | 13 | 14 |

click here to navigate to homepage

15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/Target Support Files/AppAuth/AppAuth.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/AppAuth 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/AppAuth" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AppAuth" 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/AppAuth 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/wwwroot/lib/jquery-validation-unobtrusive/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) .NET Foundation. All rights reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | these files except in compliance with the License. You may obtain a copy of the 5 | License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software distributed 10 | under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 11 | CONDITIONS OF ANY KIND, either express or implied. See the License for the 12 | specific language governing permissions and limitations under the License. 13 | -------------------------------------------------------------------------------- /apps/spa-angular-oauth2-oidc/source-code/my-app/src/app/app.module.ts: -------------------------------------------------------------------------------- 1 | import { BrowserModule } from '@angular/platform-browser'; 2 | import { NgModule } from '@angular/core'; 3 | 4 | import { AppComponent } from './app.component'; 5 | 6 | //Sample: import the necessary libraries 7 | import { HttpClientModule } from '@angular/common/http'; 8 | import { OAuthModule } from 'angular-oauth2-oidc'; 9 | 10 | @NgModule({ 11 | declarations: [ 12 | AppComponent 13 | ], 14 | imports: [ 15 | BrowserModule, 16 | //Sample: import the necessary libraries 17 | HttpClientModule, 18 | OAuthModule.forRoot() 19 | ], 20 | providers: [], 21 | bootstrap: [AppComponent] 22 | }) 23 | export class AppModule { } 24 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/wwwroot/lib/jquery/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery", 3 | "main": "dist/jquery.js", 4 | "license": "MIT", 5 | "ignore": [ 6 | "package.json" 7 | ], 8 | "keywords": [ 9 | "jquery", 10 | "javascript", 11 | "browser", 12 | "library" 13 | ], 14 | "homepage": "https://github.com/jquery/jquery-dist", 15 | "version": "3.3.1", 16 | "_release": "3.3.1", 17 | "_resolution": { 18 | "type": "version", 19 | "tag": "3.3.1", 20 | "commit": "9e8ec3d10fad04748176144f108d7355662ae75e" 21 | }, 22 | "_source": "https://github.com/jquery/jquery-dist.git", 23 | "_target": "^3.3.1", 24 | "_originalSource": "jquery", 25 | "_direct": true 26 | } -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/obj/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.RazorAssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System; 11 | using System.Reflection; 12 | 13 | [assembly: Microsoft.AspNetCore.Mvc.ApplicationParts.RelatedAssemblyAttribute("WebApp-OpenIDConnect-DotNet.Views")] 14 | 15 | // Generated by the MSBuild WriteCodeFragment class. 16 | 17 | -------------------------------------------------------------------------------- /apps/spa-hellojs/source-code/.Net-Core-API-RBAC/MultiBearerAPI/MultiBearerAPI.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.1 5 | aspnet-MultiBearerAPI-CBB7C57A-28A0-4112-95AB-224461CF8597 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /apps/spa-hellojs-popup/source-code/.Net-Core-API-RBAC/MultiBearerAPI/MultiBearerAPI.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.1 5 | aspnet-MultiBearerAPI-CBB7C57A-28A0-4112-95AB-224461CF8597 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/android/app/build_defs.bzl: -------------------------------------------------------------------------------- 1 | """Helper definitions to glob .aar and .jar targets""" 2 | 3 | def create_aar_targets(aarfiles): 4 | for aarfile in aarfiles: 5 | name = "aars__" + aarfile[aarfile.rindex("/") + 1:aarfile.rindex(".aar")] 6 | lib_deps.append(":" + name) 7 | android_prebuilt_aar( 8 | name = name, 9 | aar = aarfile, 10 | ) 11 | 12 | def create_jar_targets(jarfiles): 13 | for jarfile in jarfiles: 14 | name = "jars__" + jarfile[jarfile.rindex("/") + 1:jarfile.rindex(".jar")] 15 | lib_deps.append(":" + name) 16 | prebuilt_jar( 17 | name = name, 18 | binary_jar = jarfile, 19 | ) 20 | -------------------------------------------------------------------------------- /apps/web-nodejs-msal-embeddedSignin/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "webapp-oidc-nodejs", 3 | "version": "1.0.0", 4 | "description": "Authenticate users using B2C", 5 | "main": "index.js", 6 | "scripts": { 7 | "start": "node app.js", 8 | "start-dev": "nodemon app.js" 9 | }, 10 | "author": "", 11 | "license": "ISC", 12 | "dependencies": { 13 | "@azure/msal-node": "^1.1.0", 14 | "bcrypt-nodejs": "0.0.3", 15 | "cookie-parser": "^1.4.5", 16 | "dotenv": "^9.0.1", 17 | "ejs": "^3.1.6", 18 | "ejs-locals": "^1.0.2", 19 | "express": "^4.17.1", 20 | "express-session": "^1.17.2", 21 | "mongoose": "^5.12.7", 22 | "morgan": "^1.10.0" 23 | }, 24 | "devDependencies": { 25 | "nodemon": "^2.0.7" 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "b2creact", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "start": "node node_modules/react-native/local-cli/cli.js start", 7 | "test": "jest" 8 | }, 9 | "dependencies": { 10 | "react": "16.8.3", 11 | "react-native": "^0.59.6", 12 | "react-native-app-auth": "^3.1.0", 13 | "styled-components": "^3.4.9" 14 | }, 15 | "devDependencies": { 16 | "@babel/core": "^7.4.4", 17 | "@babel/runtime": "^7.4.4", 18 | "babel-jest": "^24.7.1", 19 | "jest": "^24.7.1", 20 | "metro-react-native-babel-preset": "^0.53.1", 21 | "react-test-renderer": "16.8.3" 22 | }, 23 | "jest": { 24 | "preset": "react-native" 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /apps/spa-angular-auth-oidc-client/source-code/src/test.ts: -------------------------------------------------------------------------------- 1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files 2 | 3 | import 'zone.js/dist/zone-testing'; 4 | import { getTestBed } from '@angular/core/testing'; 5 | import { 6 | BrowserDynamicTestingModule, 7 | platformBrowserDynamicTesting 8 | } from '@angular/platform-browser-dynamic/testing'; 9 | 10 | declare const require: any; 11 | 12 | // First, initialize the Angular testing environment. 13 | getTestBed().initTestEnvironment( 14 | BrowserDynamicTestingModule, 15 | platformBrowserDynamicTesting() 16 | ); 17 | // Then we find all the tests. 18 | const context = require.context('./', true, /\.spec\.ts$/); 19 | // And load the modules. 20 | context.keys().map(context); 21 | -------------------------------------------------------------------------------- /apps/spa-angular-oauth2-oidc/source-code/my-app/src/test.ts: -------------------------------------------------------------------------------- 1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files 2 | 3 | import 'zone.js/dist/zone-testing'; 4 | import { getTestBed } from '@angular/core/testing'; 5 | import { 6 | BrowserDynamicTestingModule, 7 | platformBrowserDynamicTesting 8 | } from '@angular/platform-browser-dynamic/testing'; 9 | 10 | declare const require: any; 11 | 12 | // First, initialize the Angular testing environment. 13 | getTestBed().initTestEnvironment( 14 | BrowserDynamicTestingModule, 15 | platformBrowserDynamicTesting() 16 | ); 17 | // Then we find all the tests. 18 | const context = require.context('./', true, /\.spec\.ts$/); 19 | // And load the modules. 20 | context.keys().map(context); 21 | -------------------------------------------------------------------------------- /apps/spa-hellojs/source-code/.Net-Core-API-RBAC/MultiBearerAPI/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Threading.Tasks; 6 | using Microsoft.AspNetCore; 7 | using Microsoft.AspNetCore.Hosting; 8 | using Microsoft.Extensions.Configuration; 9 | using Microsoft.Extensions.Logging; 10 | 11 | namespace MultiBearerAPI 12 | { 13 | public class Program 14 | { 15 | public static void Main(string[] args) 16 | { 17 | CreateWebHostBuilder(args).Build().Run(); 18 | } 19 | 20 | public static IWebHostBuilder CreateWebHostBuilder(string[] args) => 21 | WebHost.CreateDefaultBuilder(args) 22 | .UseStartup(); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /apps/web-java-springboot-api/src/main/java/com/fawltytowers2/javarestapib2c/Application.java: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT License. 3 | 4 | package com.fawltytowers2.javarestapib2c; 5 | 6 | import org.springframework.boot.SpringApplication; 7 | import org.springframework.boot.autoconfigure.SpringBootApplication; 8 | import org.springframework.cache.annotation.EnableCaching; 9 | import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer; 10 | 11 | @SpringBootApplication 12 | @EnableResourceServer 13 | @EnableCaching 14 | public class Application { 15 | 16 | public static void main(String[] args) { 17 | SpringApplication.run(Application.class, args); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /apps/web-nodejs-passportjs-embeddedSignin/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "nodejs-b2c-oidc-webapp", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "start": "node app.js", 8 | "start-dev": "nodemon app.js" 9 | }, 10 | "keywords": [], 11 | "author": { 12 | "name": "azuread" 13 | }, 14 | "license": "ISC", 15 | "dependencies": { 16 | "cookie-parser": "^1.4.5", 17 | "dotenv": "^10.0.0", 18 | "ejs": "^3.1.6", 19 | "ejs-locals": "^1.0.2", 20 | "express": "^4.17.1", 21 | "express-session": "^1.17.2", 22 | "method-override": "^3.0.0", 23 | "passport": "^0.4.1", 24 | "passport-azure-ad": "^4.3.1-beta.0" 25 | }, 26 | "devDependencies": { 27 | "nodemon": "^2.0.12" 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /apps/spa-hellojs-popup/source-code/.Net-Core-API-RBAC/MultiBearerAPI/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Threading.Tasks; 6 | using Microsoft.AspNetCore; 7 | using Microsoft.AspNetCore.Hosting; 8 | using Microsoft.Extensions.Configuration; 9 | using Microsoft.Extensions.Logging; 10 | 11 | namespace MultiBearerAPI 12 | { 13 | public class Program 14 | { 15 | public static void Main(string[] args) 16 | { 17 | CreateWebHostBuilder(args).Build().Run(); 18 | } 19 | 20 | public static IWebHostBuilder CreateWebHostBuilder(string[] args) => 21 | WebHost.CreateDefaultBuilder(args) 22 | .UseStartup(); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /apps/spa-angular-auth-oidc-client/source-code/e2e/src/app.e2e-spec.ts: -------------------------------------------------------------------------------- 1 | import { AppPage } from './app.po'; 2 | import { browser, logging } from 'protractor'; 3 | 4 | describe('workspace-project App', () => { 5 | let page: AppPage; 6 | 7 | beforeEach(() => { 8 | page = new AppPage(); 9 | }); 10 | 11 | it('should display welcome message', () => { 12 | page.navigateTo(); 13 | expect(page.getTitleText()).toEqual('Welcome to my-app!'); 14 | }); 15 | 16 | afterEach(async () => { 17 | // Assert that there are no errors emitted from the browser 18 | const logs = await browser.manage().logs().get(logging.Type.BROWSER); 19 | expect(logs).not.toContain(jasmine.objectContaining({ 20 | level: logging.Level.SEVERE, 21 | } as logging.Entry)); 22 | }); 23 | }); 24 | -------------------------------------------------------------------------------- /apps/spa-angular-auth-oidc-client/source-code/src/environments/environment.ts: -------------------------------------------------------------------------------- 1 | // This file can be replaced during build by using the `fileReplacements` array. 2 | // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`. 3 | // The list of file replacements can be found in `angular.json`. 4 | 5 | export const environment = { 6 | production: false 7 | }; 8 | 9 | /* 10 | * For easier debugging in development mode, you can import the following file 11 | * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`. 12 | * 13 | * This import should be commented out in production mode because it will have a negative impact 14 | * on performance if an error is thrown. 15 | */ 16 | // import 'zone.js/dist/zone-error'; // Included with Angular CLI. 17 | -------------------------------------------------------------------------------- /apps/spa-angular-oauth2-oidc/source-code/my-app/e2e/src/app.e2e-spec.ts: -------------------------------------------------------------------------------- 1 | import { AppPage } from './app.po'; 2 | import { browser, logging } from 'protractor'; 3 | 4 | describe('workspace-project App', () => { 5 | let page: AppPage; 6 | 7 | beforeEach(() => { 8 | page = new AppPage(); 9 | }); 10 | 11 | it('should display welcome message', () => { 12 | page.navigateTo(); 13 | expect(page.getTitleText()).toEqual('Welcome to my-app!'); 14 | }); 15 | 16 | afterEach(async () => { 17 | // Assert that there are no errors emitted from the browser 18 | const logs = await browser.manage().logs().get(logging.Type.BROWSER); 19 | expect(logs).not.toContain(jasmine.objectContaining({ 20 | level: logging.Level.SEVERE, 21 | } as logging.Entry)); 22 | }); 23 | }); 24 | -------------------------------------------------------------------------------- /apps/spa-angular-oauth2-oidc/source-code/my-app/src/environments/environment.ts: -------------------------------------------------------------------------------- 1 | // This file can be replaced during build by using the `fileReplacements` array. 2 | // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`. 3 | // The list of file replacements can be found in `angular.json`. 4 | 5 | export const environment = { 6 | production: false 7 | }; 8 | 9 | /* 10 | * For easier debugging in development mode, you can import the following file 11 | * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`. 12 | * 13 | * This import should be commented out in production mode because it will have a negative impact 14 | * on performance if an error is thrown. 15 | */ 16 | // import 'zone.js/dist/zone-error'; // Included with Angular CLI. 17 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/b2creact/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | #import 10 | #import "RNAppAuthAuthorizationFlowManager.h" 11 | 12 | //@interface AppDelegate : UIResponder 13 | 14 | 15 | @interface AppDelegate : UIResponder 16 | 17 | @property(nonatomic, weak) 18 | idauthorizationFlowManagerDelegate; 19 | 20 | @property (nonatomic, strong) UIWindow *window; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /apps/web-java-springboot-api/src/main/java/com/fawltytowers2/javarestapib2c/model/Item.java: -------------------------------------------------------------------------------- 1 | package com.fawltytowers2.javarestapib2c.model; 2 | 3 | /** 4 | * This is simple Item model class 5 | */ 6 | public class Item { 7 | private String itemId; 8 | private String itemName; 9 | 10 | public Item(String itemId, String itemName) { 11 | this.setItemId(itemId); 12 | this.setItemName(itemName); 13 | } 14 | 15 | public void setItemId(String itemId) { 16 | this.itemId = itemId; 17 | } 18 | 19 | public String getItemId() { 20 | return itemId; 21 | } 22 | 23 | public void setItemName(String itemName) { 24 | this.itemName = itemName; 25 | } 26 | 27 | public String getItemName() { 28 | return itemName; 29 | } 30 | } 31 | 32 | -------------------------------------------------------------------------------- /apps/web-java-springboot-api/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port=8081 2 | logging.level.org.springframework.oauth2=DEBUG 3 | logging.level.org.springframework.jwt=DEBUG 4 | logging.level.org.springframework.cache=DEBUG 5 | 6 | security.oauth2.client.authority=https://yourtenant.b2clogin.com/tfp/yourtenant.onmicrosoft.com/ 7 | security.oauth2.client.client-id=...api client_id... 8 | security.oauth2.client.client-secret=...api secret/key... 9 | 10 | security.oauth2.resource.id=...api for client_id... 11 | security.oauth2.scope.access-as-user=https://yourtenant.onmicrosoft.com/your-api-name/demo.read 12 | security.oauth2.resource.jwt.key-uri=https://yourtenant.b2clogin.com/yourtenant.onmicrosoft.com/discovery/v2.0/keys?p=b2c_1a_signup_signin 13 | security.oauth2.issuer=https://yourtenant.b2clogin.com/yourtenant-guid/v2.0/ 14 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/b2creact/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/components/Button.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | import React, { Component } from 'react'; 4 | import { Platform } from 'react-native'; 5 | import styled from 'styled-components/native'; 6 | 7 | type Props = { 8 | text: string, 9 | color: string, 10 | onPress: () => any 11 | }; 12 | 13 | const ButtonBox = styled.TouchableOpacity.attrs({ activeOpacity: 0.8 })` 14 | height: 50px; 15 | flex: 1; 16 | margin: 5px; 17 | align-items: center; 18 | justify-content: center; 19 | background-color: ${props => props.color}; 20 | `; 21 | 22 | const ButtonText = styled.Text` 23 | color: white; 24 | `; 25 | 26 | const Button = ({ text, color, onPress }: Props) => ( 27 | 28 | {text} 29 | 30 | ); 31 | 32 | export default Button; 33 | -------------------------------------------------------------------------------- /apps/spa-angular-auth-oidc-client/source-code/.gitignore: -------------------------------------------------------------------------------- 1 | # See http://help.github.com/ignore-files/ for more about ignoring files. 2 | 3 | # compiled output 4 | /dist 5 | /tmp 6 | /out-tsc 7 | # Only exists if Bazel was run 8 | /bazel-out 9 | 10 | # dependencies 11 | /node_modules 12 | 13 | # profiling files 14 | chrome-profiler-events.json 15 | speed-measure-plugin.json 16 | 17 | # IDEs and editors 18 | /.idea 19 | .project 20 | .classpath 21 | .c9/ 22 | *.launch 23 | .settings/ 24 | *.sublime-workspace 25 | 26 | # IDE - VSCode 27 | .vscode/* 28 | !.vscode/settings.json 29 | !.vscode/tasks.json 30 | !.vscode/launch.json 31 | !.vscode/extensions.json 32 | .history/* 33 | 34 | # misc 35 | /.sass-cache 36 | /connect.lock 37 | /coverage 38 | /libpeerconnection.log 39 | npm-debug.log 40 | yarn-error.log 41 | testem.log 42 | /typings 43 | 44 | # System Files 45 | .DS_Store 46 | Thumbs.db 47 | -------------------------------------------------------------------------------- /apps/spa-angular-oauth2-oidc/source-code/my-app/.gitignore: -------------------------------------------------------------------------------- 1 | # See http://help.github.com/ignore-files/ for more about ignoring files. 2 | 3 | # compiled output 4 | /dist 5 | /tmp 6 | /out-tsc 7 | # Only exists if Bazel was run 8 | /bazel-out 9 | 10 | # dependencies 11 | /node_modules 12 | 13 | # profiling files 14 | chrome-profiler-events.json 15 | speed-measure-plugin.json 16 | 17 | # IDEs and editors 18 | /.idea 19 | .project 20 | .classpath 21 | .c9/ 22 | *.launch 23 | .settings/ 24 | *.sublime-workspace 25 | 26 | # IDE - VSCode 27 | .vscode/* 28 | !.vscode/settings.json 29 | !.vscode/tasks.json 30 | !.vscode/launch.json 31 | !.vscode/extensions.json 32 | .history/* 33 | 34 | # misc 35 | /.sass-cache 36 | /connect.lock 37 | /coverage 38 | /libpeerconnection.log 39 | npm-debug.log 40 | yarn-error.log 41 | testem.log 42 | /typings 43 | 44 | # System Files 45 | .DS_Store 46 | Thumbs.db 47 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "AzureAdB2C": { 3 | "Instance": "https://login.contoso.com", //Must be a custom domain name. For example: https://login.contoso.com 4 | "ClientId": "", 5 | "Domain": "contoso.onmicrosoft.com", 6 | "SignedOutCallbackPath": "/signout/B2C_1A_signup_signin", 7 | "SignUpSignInPolicyId": "B2C_1A_signup_signin", //Note the policy name starts with B2C_1A, indicating this is a custom policy. Only custom policies can be used with Embedded sign-in. 8 | "ResetPasswordPolicyId": "B2C_1A_PasswordReset", 9 | "EditProfilePolicyId": "B2C_1A_ProfileEdit" 10 | }, 11 | "Logging": { 12 | "LogLevel": { 13 | "Default": "Information", 14 | "Microsoft": "Warning", 15 | "Microsoft.Hosting.Lifetime": "Information" 16 | } 17 | }, 18 | "AllowedHosts": "*" 19 | } 20 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/b2creactTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /apps/spa-angular-auth-oidc-client/source-code/e2e/protractor.conf.js: -------------------------------------------------------------------------------- 1 | // Protractor configuration file, see link for more information 2 | // https://github.com/angular/protractor/blob/master/lib/config.ts 3 | 4 | const { SpecReporter } = require('jasmine-spec-reporter'); 5 | 6 | exports.config = { 7 | allScriptsTimeout: 11000, 8 | specs: [ 9 | './src/**/*.e2e-spec.ts' 10 | ], 11 | capabilities: { 12 | 'browserName': 'chrome' 13 | }, 14 | directConnect: true, 15 | baseUrl: 'http://localhost:4200/', 16 | framework: 'jasmine', 17 | jasmineNodeOpts: { 18 | showColors: true, 19 | defaultTimeoutInterval: 30000, 20 | print: function() {} 21 | }, 22 | onPrepare() { 23 | require('ts-node').register({ 24 | project: require('path').join(__dirname, './tsconfig.e2e.json') 25 | }); 26 | jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } })); 27 | } 28 | }; -------------------------------------------------------------------------------- /apps/spa-angular-oauth2-oidc/source-code/my-app/e2e/protractor.conf.js: -------------------------------------------------------------------------------- 1 | // Protractor configuration file, see link for more information 2 | // https://github.com/angular/protractor/blob/master/lib/config.ts 3 | 4 | const { SpecReporter } = require('jasmine-spec-reporter'); 5 | 6 | exports.config = { 7 | allScriptsTimeout: 11000, 8 | specs: [ 9 | './src/**/*.e2e-spec.ts' 10 | ], 11 | capabilities: { 12 | 'browserName': 'chrome' 13 | }, 14 | directConnect: true, 15 | baseUrl: 'http://localhost:4200/', 16 | framework: 'jasmine', 17 | jasmineNodeOpts: { 18 | showColors: true, 19 | defaultTimeoutInterval: 30000, 20 | print: function() {} 21 | }, 22 | onPrepare() { 23 | require('ts-node').register({ 24 | project: require('path').join(__dirname, './tsconfig.e2e.json') 25 | }); 26 | jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } })); 27 | } 28 | }; -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/b2creact-tvOSTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /apps/spa-angular-oauth2-oidc/source-code/my-app/src/app/auth.config.ts: -------------------------------------------------------------------------------- 1 | import { AuthConfig } from 'angular-oauth2-oidc'; 2 | 3 | export const authConfig: AuthConfig = { 4 | 5 | // Url of the Identity Provider 6 | issuer: 'https://your-tenant.b2clogin.com/de678512-5915-46fd-ae83-a5df4ec052be/v2.0/', 7 | 8 | // URL of the SPA to redirect the user to after login 9 | redirectUri: window.location.origin + '/', 10 | 11 | // The SPA's id. The SPA is registered with this id at the auth-server 12 | clientId: 'ebce2d28-8fb8-4cc7-83ae-accc9d73ee9d', 13 | 14 | // set the scope for the permissions the client should request 15 | // The first three are defined by OIDC. The 4th is a usecase-specific one 16 | //scope: 'openid ebce2d28-8fb8-4cc7-83ae-accc9d73ee9d', 17 | scope: 'openid https://your-tenant.onmicrosoft.com/spa-app/read https://your-tenant.onmicrosoft.com/spa-app/write', 18 | 19 | strictDiscoveryDocumentValidation: false 20 | 21 | } -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/bin/Debug/netcoreapp3.1/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "AzureAdB2C": { 3 | "Instance": "https://login.fawzytech.com", //Must be a custom domain name. For example: https://login.contoso.com 4 | "ClientId": "1b94c13a-2f5a-4c02-8d9a-077a3edb201e", 5 | "Domain": "haelshabb2c.onmicrosoft.com", 6 | "SignedOutCallbackPath": "/signout/B2C_1A_signup_signin", 7 | "SignUpSignInPolicyId": "B2C_1A_signup_signin", //Note the policy name starts with B2C_1A, indicating this is a custom policy. Only custom policies can be used with Embedded sign-in. 8 | "ResetPasswordPolicyId": "B2C_1A_PasswordReset", 9 | "EditProfilePolicyId": "B2C_1A_ProfileEdit" 10 | }, 11 | "Logging": { 12 | "LogLevel": { 13 | "Default": "Information", 14 | "Microsoft": "Warning", 15 | "Microsoft.Hosting.Lifetime": "Information" 16 | } 17 | }, 18 | "AllowedHosts": "*" 19 | } 20 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/obj/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.MvcApplicationPartsAssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System; 11 | using System.Reflection; 12 | 13 | [assembly: Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartAttribute("Microsoft.Identity.Web")] 14 | [assembly: Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartAttribute("Microsoft.Identity.Web.UI")] 15 | [assembly: Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartAttribute("Microsoft.Identity.Web.UI.Views")] 16 | 17 | // Generated by the MSBuild WriteCodeFragment class. 18 | 19 | -------------------------------------------------------------------------------- /apps/spa-hellojs/source-code/.Net-Core-API-RBAC/MultiBearerAPI/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json.schemastore.org/launchsettings.json", 3 | "iisSettings": { 4 | "windowsAuthentication": false, 5 | "anonymousAuthentication": true, 6 | "iisExpress": { 7 | "applicationUrl": "http://localhost:31719", 8 | "sslPort": 44330 9 | } 10 | }, 11 | "profiles": { 12 | "IIS Express": { 13 | "commandName": "IISExpress", 14 | "launchBrowser": true, 15 | "launchUrl": "api/values", 16 | "environmentVariables": { 17 | "ASPNETCORE_ENVIRONMENT": "Development" 18 | } 19 | }, 20 | "MultiBearerAPI": { 21 | "commandName": "Project", 22 | "launchBrowser": true, 23 | "launchUrl": "api/values", 24 | "applicationUrl": "https://localhost:5001;http://localhost:5000", 25 | "environmentVariables": { 26 | "ASPNETCORE_ENVIRONMENT": "Development" 27 | } 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /apps/spa-hellojs-popup/source-code/.Net-Core-API-RBAC/MultiBearerAPI/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json.schemastore.org/launchsettings.json", 3 | "iisSettings": { 4 | "windowsAuthentication": false, 5 | "anonymousAuthentication": true, 6 | "iisExpress": { 7 | "applicationUrl": "http://localhost:31719", 8 | "sslPort": 44330 9 | } 10 | }, 11 | "profiles": { 12 | "IIS Express": { 13 | "commandName": "IISExpress", 14 | "launchBrowser": true, 15 | "launchUrl": "api/values", 16 | "environmentVariables": { 17 | "ASPNETCORE_ENVIRONMENT": "Development" 18 | } 19 | }, 20 | "MultiBearerAPI": { 21 | "commandName": "Project", 22 | "launchBrowser": true, 23 | "launchUrl": "api/values", 24 | "applicationUrl": "https://localhost:5001;http://localhost:5000", 25 | "environmentVariables": { 26 | "ASPNETCORE_ENVIRONMENT": "Development" 27 | } 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/android/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | -------------------------------------------------------------------------------- /apps/spa-hellojs/source-code/.Net-Core-API-RBAC/MultiBearerAPI/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "AzureAdB2C": { 3 | "Instance": "https://b2cprod.b2clogin.com", 4 | "ClientId": "44b93b96-8d2e-4eef-b028-73dc5968d966", //App Id for Backend API App Reg 5 | "Domain": "b2cprod.onmicrosoft.com", 6 | "SignUpSignInPolicyId": "b2c_1a_aad_slack_susi", 7 | "TenantId": "d6f33888-948c-4c1f-9b50-1590f171fc70" 8 | }, 9 | "AzureAd": { 10 | "Instance": "https://login.microsoftonline.com", 11 | "ClientId": "7cd09a5b-b445-4c5c-920a-0ed70fd5a70c", //App Id for Backend API App Reg, can be B2C app reg or AAD app reg 12 | "Domain": "b2cprod.onmicrosoft.com", //Tenant where App reg was created, doesnt have to be the same as front end 13 | "TenantId": "d6f33888-948c-4c1f-9b50-1590f171fc70" //TenantId where App reg was created, doesnt have to be the same as front end 14 | }, 15 | "Logging": { 16 | "LogLevel": { 17 | "Default": "Warning" 18 | } 19 | }, 20 | "AllowedHosts": "*" 21 | } 22 | -------------------------------------------------------------------------------- /apps/spa-hellojs-popup/source-code/.Net-Core-API-RBAC/MultiBearerAPI/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "AzureAdB2C": { 3 | "Instance": "https://b2cprod.b2clogin.com", 4 | "ClientId": "44b93b96-8d2e-4eef-b028-73dc5968d966", //App Id for Backend API App Reg 5 | "Domain": "b2cprod.onmicrosoft.com", 6 | "SignUpSignInPolicyId": "b2c_1a_aad_slack_susi", 7 | "TenantId": "d6f33888-948c-4c1f-9b50-1590f171fc70" 8 | }, 9 | "AzureAd": { 10 | "Instance": "https://login.microsoftonline.com", 11 | "ClientId": "7cd09a5b-b445-4c5c-920a-0ed70fd5a70c", //App Id for Backend API App Reg, can be B2C app reg or AAD app reg 12 | "Domain": "b2cprod.onmicrosoft.com", //Tenant where App reg was created, doesnt have to be the same as front end 13 | "TenantId": "d6f33888-948c-4c1f-9b50-1590f171fc70" //TenantId where App reg was created, doesnt have to be the same as front end 14 | }, 15 | "Logging": { 16 | "LogLevel": { 17 | "Default": "Warning" 18 | } 19 | }, 20 | "AllowedHosts": "*" 21 | } 22 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/Views/Shared/Error.cshtml: -------------------------------------------------------------------------------- 1 | @model ErrorViewModel 2 | @{ 3 | ViewData["Title"] = "Error"; 4 | } 5 | 6 |

Error.

7 |

An error occurred while processing your request.

8 | 9 | @if (Model.ShowRequestId) 10 | { 11 |

12 | Request ID: @Model.RequestId 13 |

14 | } 15 | 16 |

Development Mode

17 |

18 | Swapping to Development environment will display more detailed information about the error that occurred. 19 |

20 |

21 | The Development environment shouldn't be enabled for deployed applications. 22 | It can result in displaying sensitive information from exceptions to end users. 23 | For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development 24 | and restarting the app. 25 |

26 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | ext { 5 | buildToolsVersion = "28.0.3" 6 | minSdkVersion = 16 7 | compileSdkVersion = 28 8 | targetSdkVersion = 28 9 | supportLibVersion = "28.0.0" 10 | } 11 | repositories { 12 | google() 13 | jcenter() 14 | } 15 | dependencies { 16 | classpath 'com.android.tools.build:gradle:3.3.1' 17 | 18 | // NOTE: Do not place your application dependencies here; they belong 19 | // in the individual module build.gradle files 20 | } 21 | } 22 | 23 | allprojects { 24 | repositories { 25 | mavenLocal() 26 | google() 27 | jcenter() 28 | maven { 29 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 30 | url "$rootDir/../node_modules/react-native/android" 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/wwwroot/css/site.css: -------------------------------------------------------------------------------- 1 | /* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\ 2 | for details on configuring this project to bundle and minify static web assets. */ 3 | body { 4 | padding-top: 50px; 5 | padding-bottom: 20px; 6 | } 7 | 8 | /* Wrapping element */ 9 | /* Set some basic padding to keep content from hitting the edges */ 10 | .body-content { 11 | padding-left: 15px; 12 | padding-right: 15px; 13 | } 14 | 15 | /* Carousel */ 16 | .carousel-caption p { 17 | font-size: 20px; 18 | line-height: 1.4; 19 | } 20 | 21 | /* Make .svg files in the carousel display properly in older browsers */ 22 | .carousel-inner .item img[src$=".svg"] { 23 | width: 100%; 24 | } 25 | 26 | /* QR code generator */ 27 | #qrCode { 28 | margin: 15px; 29 | } 30 | 31 | /* Hide/rearrange for smaller screens */ 32 | @media screen and (max-width: 767px) { 33 | /* Hide captions */ 34 | .carousel-caption { 35 | display: none; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/Controllers/HomeController.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.AspNetCore.Authorization; 2 | using Microsoft.AspNetCore.Mvc; 3 | using System.Diagnostics; 4 | using WebApp_OpenIDConnect_DotNet.Models; 5 | 6 | namespace WebApp_OpenIDConnect_DotNet.Controllers 7 | { 8 | public class HomeController : Controller 9 | { 10 | 11 | public IActionResult Index() 12 | { 13 | return View(); 14 | } 15 | 16 | [Authorize] 17 | public IActionResult Claims() 18 | { 19 | return View(); 20 | } 21 | 22 | [AllowAnonymous] 23 | public IActionResult Privacy() 24 | { 25 | return View(); 26 | } 27 | 28 | [AllowAnonymous] 29 | [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] 30 | public IActionResult Error() 31 | { 32 | return View(new ErrorViewModel {RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier}); 33 | } 34 | } 35 | } -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/WebApp-OpenIDConnect-DotNet.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp3.1 5 | aspnet-WebApp_OpenIDConnect_DotNet-81EA87AD-E64D-4755-A1CC-5EA47F49B5D8 6 | 0 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /apps/spa-hellojs/source-code/B2C-v2jsapp.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25420.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "B2C-v2jsapp", "B2C-v2jsapp\B2C-v2jsapp.csproj", "{F1DDF3FC-8D43-495F-A5C8-852C6B3F8799}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {F1DDF3FC-8D43-495F-A5C8-852C6B3F8799}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {F1DDF3FC-8D43-495F-A5C8-852C6B3F8799}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {F1DDF3FC-8D43-495F-A5C8-852C6B3F8799}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {F1DDF3FC-8D43-495F-A5C8-852C6B3F8799}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /apps/spa-hellojs-popup/source-code/B2C-v2jsapp.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25420.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "B2C-v2jsapp", "B2C-v2jsapp\B2C-v2jsapp.csproj", "{F1DDF3FC-8D43-495F-A5C8-852C6B3F8799}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {F1DDF3FC-8D43-495F-A5C8-852C6B3F8799}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {F1DDF3FC-8D43-495F-A5C8-852C6B3F8799}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {F1DDF3FC-8D43-495F-A5C8-852C6B3F8799}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {F1DDF3FC-8D43-495F-A5C8-852C6B3F8799}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | project.xcworkspace 24 | 25 | # Android/IntelliJ 26 | # 27 | build/ 28 | .idea 29 | .gradle 30 | local.properties 31 | *.iml 32 | 33 | # node.js 34 | # 35 | node_modules/ 36 | npm-debug.log 37 | yarn-error.log 38 | 39 | # BUCK 40 | buck-out/ 41 | \.buckd/ 42 | *.keystore 43 | 44 | # fastlane 45 | # 46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 47 | # screenshots whenever they are needed. 48 | # For more information about the recommended setup visit: 49 | # https://docs.fastlane.tools/best-practices/source-control/ 50 | 51 | */fastlane/report.xml 52 | */fastlane/Preview.html 53 | */fastlane/screenshots 54 | 55 | # Bundle artifact 56 | *.jsbundle 57 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/AppAuth/Source/OIDResponseTypes.m: -------------------------------------------------------------------------------- 1 | /*! @file OIDResponseTypes.m 2 | @brief AppAuth iOS SDK 3 | @copyright 4 | Copyright 2015 Google Inc. All Rights Reserved. 5 | @copydetails 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | */ 18 | 19 | #import "OIDResponseTypes.h" 20 | 21 | NSString *const OIDResponseTypeCode = @"code"; 22 | 23 | NSString *const OIDResponseTypeToken = @"token"; 24 | 25 | NSString *const OIDResponseTypeIDToken = @"id_token"; 26 | -------------------------------------------------------------------------------- /apps/web-nodejs-msal-embeddedSignin/config/policies.js: -------------------------------------------------------------------------------- 1 | const b2cPolicies = { 2 | names: { 3 | signUpSignIn: "B2C_1A_EMBEDDEDSIGNIN_SIGNUP_SIGNIN", 4 | resetPassword: "B2C_1A_EMBEDDEDSIGNIN_PASSWORDRESET", 5 | editprofile: "B2C_1A_EMBEDDEDSIGNIN_PROFILEEDIT", 6 | }, 7 | authorities: { 8 | signUpSignIn: { 9 | authority: "https://login.yourcustomdomain.com/yourcustomdomain.com/B2C_1A_EMBEDDEDSIGNIN_SIGNUP_SIGNIN", 10 | }, 11 | resetPassword: { 12 | authority: "https://login.yourcustomdomain.com/yourcustomdomain.com/B2C_1A_EMBEDDEDSIGNIN_PASSWORDRESET", 13 | }, 14 | editprofile: { 15 | authority: "https://login.yourcustomdomain.com/yourcustomdomain.com/B2C_1A_EMBEDDEDSIGNIN_PROFILEEDIT", 16 | }, 17 | }, 18 | authorityDomain: "yourcustomdomain.com", 19 | destroySessionUrl: "https://login.yourcustomdomain.com/yourcustomdomain.com/oauth2/v2.0/logout?p=B2C_1A_EMBEDDEDSIGNIN_SIGNUP_SIGNIN" + "&post_logout_redirect_uri=https://yourcustomdomain.com/" 20 | } 21 | 22 | module.exports = b2cPolicies; -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 13 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/wwwroot/lib/jquery-validation/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery-validation", 3 | "homepage": "https://jqueryvalidation.org/", 4 | "repository": { 5 | "type": "git", 6 | "url": "git://github.com/jquery-validation/jquery-validation.git" 7 | }, 8 | "authors": [ 9 | "Jörn Zaefferer " 10 | ], 11 | "description": "Form validation made easy", 12 | "main": "dist/jquery.validate.js", 13 | "keywords": [ 14 | "forms", 15 | "validation", 16 | "validate" 17 | ], 18 | "license": "MIT", 19 | "ignore": [ 20 | "**/.*", 21 | "node_modules", 22 | "bower_components", 23 | "test", 24 | "demo", 25 | "lib" 26 | ], 27 | "dependencies": { 28 | "jquery": ">= 1.7.2" 29 | }, 30 | "version": "1.17.0", 31 | "_release": "1.17.0", 32 | "_resolution": { 33 | "type": "version", 34 | "tag": "1.17.0", 35 | "commit": "fc9b12d3bfaa2d0c04605855b896edb2934c0772" 36 | }, 37 | "_source": "https://github.com/jzaefferer/jquery-validation.git", 38 | "_target": "^1.17.0", 39 | "_originalSource": "jquery-validation", 40 | "_direct": true 41 | } -------------------------------------------------------------------------------- /apps/spa-angular-auth-oidc-client/source-code/README.md: -------------------------------------------------------------------------------- 1 | # MyApp 2 | 3 | This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.3.5. 4 | 5 | ## Development server 6 | 7 | Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. 8 | 9 | ## Code scaffolding 10 | 11 | Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`. 12 | 13 | ## Build 14 | 15 | Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build. 16 | 17 | ## Running unit tests 18 | 19 | Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io). 20 | 21 | ## Running end-to-end tests 22 | 23 | Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/). 24 | 25 | ## Further help 26 | 27 | To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md). 28 | -------------------------------------------------------------------------------- /apps/spa-angular-auth-oidc-client/source-code/src/app/app.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed, async } from '@angular/core/testing'; 2 | import { AppComponent } from './app.component'; 3 | 4 | describe('AppComponent', () => { 5 | beforeEach(async(() => { 6 | TestBed.configureTestingModule({ 7 | declarations: [ 8 | AppComponent 9 | ], 10 | }).compileComponents(); 11 | })); 12 | 13 | it('should create the app', () => { 14 | const fixture = TestBed.createComponent(AppComponent); 15 | const app = fixture.debugElement.componentInstance; 16 | expect(app).toBeTruthy(); 17 | }); 18 | 19 | it(`should have as title 'my-app'`, () => { 20 | const fixture = TestBed.createComponent(AppComponent); 21 | const app = fixture.debugElement.componentInstance; 22 | expect(app.title).toEqual('my-app'); 23 | }); 24 | 25 | it('should render title in a h1 tag', () => { 26 | const fixture = TestBed.createComponent(AppComponent); 27 | fixture.detectChanges(); 28 | const compiled = fixture.debugElement.nativeElement; 29 | expect(compiled.querySelector('h1').textContent).toContain('Welcome to my-app!'); 30 | }); 31 | }); 32 | -------------------------------------------------------------------------------- /apps/spa-angular-oauth2-oidc/source-code/my-app/src/app/app.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed, async } from '@angular/core/testing'; 2 | import { AppComponent } from './app.component'; 3 | 4 | describe('AppComponent', () => { 5 | beforeEach(async(() => { 6 | TestBed.configureTestingModule({ 7 | declarations: [ 8 | AppComponent 9 | ], 10 | }).compileComponents(); 11 | })); 12 | 13 | it('should create the app', () => { 14 | const fixture = TestBed.createComponent(AppComponent); 15 | const app = fixture.debugElement.componentInstance; 16 | expect(app).toBeTruthy(); 17 | }); 18 | 19 | it(`should have as title 'my-app'`, () => { 20 | const fixture = TestBed.createComponent(AppComponent); 21 | const app = fixture.debugElement.componentInstance; 22 | expect(app.title).toEqual('my-app'); 23 | }); 24 | 25 | it('should render title in a h1 tag', () => { 26 | const fixture = TestBed.createComponent(AppComponent); 27 | fixture.detectChanges(); 28 | const compiled = fixture.debugElement.nativeElement; 29 | expect(compiled.querySelector('h1').textContent).toContain('Welcome to my-app!'); 30 | }); 31 | }); 32 | -------------------------------------------------------------------------------- /apps/spa-angular-oauth2-oidc/source-code/my-app/README.md: -------------------------------------------------------------------------------- 1 | # MyApp 2 | 3 | This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.3.5. 4 | 5 | ## Development server 6 | 7 | Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. 8 | 9 | ## Code scaffolding 10 | 11 | Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`. 12 | 13 | ## Build 14 | 15 | Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build. 16 | 17 | ## Running unit tests 18 | 19 | Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io). 20 | 21 | ## Running end-to-end tests 22 | 23 | Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/). 24 | 25 | ## Further help 26 | 27 | To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md). 28 | -------------------------------------------------------------------------------- /apps/web-java-springboot-api/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM maven:3.6.0-jdk-8-alpine AS build 2 | 3 | # Upgrade Alpine packages and install OpenSSL 4 | RUN apk update && \ 5 | apk upgrade && \ 6 | apk add --no-cache openssl nss-dev nss 7 | 8 | COPY src /usr/src/app/src 9 | COPY pom.xml /usr/src/app 10 | 11 | WORKDIR /usr/src/app 12 | 13 | ENV MAVEN_OPTS="-XX:+TieredCompilation -XX:TieredStopAtLevel=1" 14 | 15 | RUN mvn -T 1C -f /usr/src/app/pom.xml clean package 16 | 17 | RUN ls -l /usr/src/app/target 18 | ############################################################################ 19 | 20 | # Base Alpine Linux based image with OpenJDK JRE only 21 | FROM openjdk:8-jdk-alpine 22 | 23 | # Project maintainer 24 | LABEL maintainer="cljung@microsoft.com" 25 | 26 | # Add a volume pointing to /tmp 27 | VOLUME /tmp 28 | 29 | WORKDIR /opt 30 | COPY --from=build /usr/src/app/target/java-rest-api-b2c*.jar /opt/app.jar 31 | RUN ls -l /opt 32 | # Make port 8080 available to the world outside this container 33 | EXPOSE 8081 34 | 35 | # Setup application entry point 36 | ENTRYPOINT ["java","-jar","/opt/app.jar"] 37 | 38 | ############################################################################ -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/AppAuth/Source/OIDScopes.m: -------------------------------------------------------------------------------- 1 | /*! @file OIDScopes.m 2 | @brief AppAuth iOS SDK 3 | @copyright 4 | Copyright 2015 Google Inc. All Rights Reserved. 5 | @copydetails 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | */ 18 | 19 | #import "OIDScopes.h" 20 | 21 | NSString *const OIDScopeOpenID = @"openid"; 22 | 23 | NSString *const OIDScopeProfile = @"profile"; 24 | 25 | NSString *const OIDScopeEmail = @"email"; 26 | 27 | NSString *const OIDScopeAddress = @"address"; 28 | 29 | NSString *const OIDScopePhone = @"phone"; 30 | -------------------------------------------------------------------------------- /apps/spa-hellojs/source-code/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 Microsoft Corporation 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /apps/spa-hellojs-popup/source-code/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 Microsoft Corporation 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /apps/spa-angular-auth-oidc-client/source-code/src/karma.conf.js: -------------------------------------------------------------------------------- 1 | // Karma configuration file, see link for more information 2 | // https://karma-runner.github.io/1.0/config/configuration-file.html 3 | 4 | module.exports = function (config) { 5 | config.set({ 6 | basePath: '', 7 | frameworks: ['jasmine', '@angular-devkit/build-angular'], 8 | plugins: [ 9 | require('karma-jasmine'), 10 | require('karma-chrome-launcher'), 11 | require('karma-jasmine-html-reporter'), 12 | require('karma-coverage-istanbul-reporter'), 13 | require('@angular-devkit/build-angular/plugins/karma') 14 | ], 15 | client: { 16 | clearContext: false // leave Jasmine Spec Runner output visible in browser 17 | }, 18 | coverageIstanbulReporter: { 19 | dir: require('path').join(__dirname, '../coverage/my-app'), 20 | reports: ['html', 'lcovonly', 'text-summary'], 21 | fixWebpackSourcePaths: true 22 | }, 23 | reporters: ['progress', 'kjhtml'], 24 | port: 9876, 25 | colors: true, 26 | logLevel: config.LOG_INFO, 27 | autoWatch: true, 28 | browsers: ['Chrome'], 29 | singleRun: false, 30 | restartOnFileChange: true 31 | }); 32 | }; 33 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/wwwroot/lib/bootstrap/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bootstrap", 3 | "description": "The most popular front-end framework for developing responsive, mobile first projects on the web.", 4 | "keywords": [ 5 | "css", 6 | "js", 7 | "less", 8 | "mobile-first", 9 | "responsive", 10 | "front-end", 11 | "framework", 12 | "web" 13 | ], 14 | "homepage": "http://getbootstrap.com", 15 | "license": "MIT", 16 | "moduleType": "globals", 17 | "main": [ 18 | "less/bootstrap.less", 19 | "dist/js/bootstrap.js" 20 | ], 21 | "ignore": [ 22 | "/.*", 23 | "_config.yml", 24 | "CNAME", 25 | "composer.json", 26 | "CONTRIBUTING.md", 27 | "docs", 28 | "js/tests", 29 | "test-infra" 30 | ], 31 | "dependencies": { 32 | "jquery": "1.9.1 - 3" 33 | }, 34 | "version": "3.3.7", 35 | "_release": "3.3.7", 36 | "_resolution": { 37 | "type": "version", 38 | "tag": "v3.3.7", 39 | "commit": "0b9c4a4007c44201dce9a6cc1a38407005c26c86" 40 | }, 41 | "_source": "https://github.com/twbs/bootstrap.git", 42 | "_target": "v3.3.7", 43 | "_originalSource": "bootstrap", 44 | "_direct": true 45 | } -------------------------------------------------------------------------------- /apps/spa-angular-oauth2-oidc/source-code/my-app/src/karma.conf.js: -------------------------------------------------------------------------------- 1 | // Karma configuration file, see link for more information 2 | // https://karma-runner.github.io/1.0/config/configuration-file.html 3 | 4 | module.exports = function (config) { 5 | config.set({ 6 | basePath: '', 7 | frameworks: ['jasmine', '@angular-devkit/build-angular'], 8 | plugins: [ 9 | require('karma-jasmine'), 10 | require('karma-chrome-launcher'), 11 | require('karma-jasmine-html-reporter'), 12 | require('karma-coverage-istanbul-reporter'), 13 | require('@angular-devkit/build-angular/plugins/karma') 14 | ], 15 | client: { 16 | clearContext: false // leave Jasmine Spec Runner output visible in browser 17 | }, 18 | coverageIstanbulReporter: { 19 | dir: require('path').join(__dirname, '../coverage/my-app'), 20 | reports: ['html', 'lcovonly', 'text-summary'], 21 | fixWebpackSourcePaths: true 22 | }, 23 | reporters: ['progress', 'kjhtml'], 24 | port: 9876, 25 | colors: true, 26 | logLevel: config.LOG_INFO, 27 | autoWatch: true, 28 | browsers: ['Chrome'], 29 | singleRun: false, 30 | restartOnFileChange: true 31 | }); 32 | }; 33 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/AppAuth/Source/OIDGrantTypes.m: -------------------------------------------------------------------------------- 1 | /*! @file OIDGrantTypes.m 2 | @brief AppAuth iOS SDK 3 | @copyright 4 | Copyright 2015 Google Inc. All Rights Reserved. 5 | @copydetails 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | */ 18 | 19 | #import "OIDGrantTypes.h" 20 | 21 | NSString *const OIDGrantTypeAuthorizationCode = @"authorization_code"; 22 | 23 | NSString *const OIDGrantTypeRefreshToken = @"refresh_token"; 24 | 25 | NSString *const OIDGrantTypePassword = @"password"; 26 | 27 | NSString *const OIDGrantTypeClientCredentials = @"client_credentials"; 28 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/wwwroot/lib/bootstrap/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2011-2016 Twitter, Inc. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /apps/spa-angular-auth-oidc-client/source-code/src/app/app.component.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |

4 | Welcome to {{ title }}! 5 |

6 | Angular Logo 7 |
8 |

Here are some links to help you start:

9 | 20 | 21 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/wwwroot/lib/jquery-validation/LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | ===================== 3 | 4 | Copyright Jörn Zaefferer 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /apps/spa-hellojs/source-code/.Net-Core-API-RBAC/MultiBearerAPI.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.28307.539 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MultiBearerAPI", "MultiBearerAPI\MultiBearerAPI.csproj", "{AA388AFC-98BA-4468-9B40-B38808B43AD1}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {AA388AFC-98BA-4468-9B40-B38808B43AD1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {AA388AFC-98BA-4468-9B40-B38808B43AD1}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {AA388AFC-98BA-4468-9B40-B38808B43AD1}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {AA388AFC-98BA-4468-9B40-B38808B43AD1}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {B1C98A96-B1BB-40BB-8051-C165CCA3203B} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /apps/spa-hellojs-popup/source-code/.Net-Core-API-RBAC/MultiBearerAPI.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.28307.539 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MultiBearerAPI", "MultiBearerAPI\MultiBearerAPI.csproj", "{AA388AFC-98BA-4468-9B40-B38808B43AD1}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {AA388AFC-98BA-4468-9B40-B38808B43AD1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {AA388AFC-98BA-4468-9B40-B38808B43AD1}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {AA388AFC-98BA-4468-9B40-B38808B43AD1}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {AA388AFC-98BA-4468-9B40-B38808B43AD1}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {B1C98A96-B1BB-40BB-8051-C165CCA3203B} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /apps/spa-hellojs/source-code/B2C-v2jsapp/css/redirect.css: -------------------------------------------------------------------------------- 1 | html{background:#eee;height:100%}body{text-align:center;display:-webkit-flex;display:flex;height:100%;-webkit-flex-flow:column wrap;flex-flow:column wrap;-webkit-justify-content:center;justify-content:center;margin:0;padding:10px}.loading{font-size:50px;height:1em;-webkit-animation:fadeout .5s 5s;animation:fadeout .5s 5s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.loading span{-webkit-animation:fadein .5s .5s alternate infinite;animation:fadein .5s .5s alternate infinite}.loading span:nth-child(2){-webkit-animation-delay:.75s;animation-delay:.75s}.loading span:nth-child(3){-webkit-animation-delay:1s;animation-delay:1s}p,h2{text-align:center;font-family:helvetica;opacity:0;-webkit-animation:fadein .5s 3s;animation:fadein .5s 3s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}p{font-size:smaller;word-break:break-word;-webkit-animation-delay:5s;animation-delay:5s}.overflow{background:#000;color:#fff;max-width:100%;text-align:left}@-webkit-keyframes fadein{from{opacity:0;-webkit-transform:scale(.2)}to{opacity:1;-webkit-transform:scale(1)}}@-webkit-keyframes fadeout{to{opacity:0;height:0}}@keyframes fadein{from{opacity:0;transform:scale(.2)}to{opacity:1;transform:scale(1)}}@keyframes fadeout{to{opacity:0;height:0}} -------------------------------------------------------------------------------- /apps/spa-hellojs-popup/source-code/B2C-v2jsapp/css/redirect.css: -------------------------------------------------------------------------------- 1 | html{background:#eee;height:100%}body{text-align:center;display:-webkit-flex;display:flex;height:100%;-webkit-flex-flow:column wrap;flex-flow:column wrap;-webkit-justify-content:center;justify-content:center;margin:0;padding:10px}.loading{font-size:50px;height:1em;-webkit-animation:fadeout .5s 5s;animation:fadeout .5s 5s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.loading span{-webkit-animation:fadein .5s .5s alternate infinite;animation:fadein .5s .5s alternate infinite}.loading span:nth-child(2){-webkit-animation-delay:.75s;animation-delay:.75s}.loading span:nth-child(3){-webkit-animation-delay:1s;animation-delay:1s}p,h2{text-align:center;font-family:helvetica;opacity:0;-webkit-animation:fadein .5s 3s;animation:fadein .5s 3s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}p{font-size:smaller;word-break:break-word;-webkit-animation-delay:5s;animation-delay:5s}.overflow{background:#000;color:#fff;max-width:100%;text-align:left}@-webkit-keyframes fadein{from{opacity:0;-webkit-transform:scale(.2)}to{opacity:1;-webkit-transform:scale(1)}}@-webkit-keyframes fadeout{to{opacity:0;height:0}}@keyframes fadein{from{opacity:0;transform:scale(.2)}to{opacity:1;transform:scale(1)}}@keyframes fadeout{to{opacity:0;height:0}} -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/WebApp-OpenIDConnect-DotNet.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.29123.89 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WebApp-OpenIDConnect-DotNet", "WebApp-OpenIDConnect-DotNet.csproj", "{8DCFEEC2-0A85-4C7E-B96A-21C9184470B1}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {8DCFEEC2-0A85-4C7E-B96A-21C9184470B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {8DCFEEC2-0A85-4C7E-B96A-21C9184470B1}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {8DCFEEC2-0A85-4C7E-B96A-21C9184470B1}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {8DCFEEC2-0A85-4C7E-B96A-21C9184470B1}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {4FC144FA-5678-428C-B5B7-E2A88ADE849D} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/Views/Shared/_ValidationScriptsPartial.cshtml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 12 | 18 | 19 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/obj/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System; 11 | using System.Reflection; 12 | 13 | [assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("aspnet-WebApp_OpenIDConnect_DotNet-81EA87AD-E64D-4755-A1CC-5EA47F49B5D8")] 14 | [assembly: System.Reflection.AssemblyCompanyAttribute("WebApp-OpenIDConnect-DotNet")] 15 | [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] 16 | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] 17 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] 18 | [assembly: System.Reflection.AssemblyProductAttribute("WebApp-OpenIDConnect-DotNet")] 19 | [assembly: System.Reflection.AssemblyTitleAttribute("WebApp-OpenIDConnect-DotNet")] 20 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] 21 | 22 | // Generated by the MSBuild WriteCodeFragment class. 23 | 24 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/obj/project.packagespec.json: -------------------------------------------------------------------------------- 1 | "restore":{"projectUniqueName":"/Users/hazemelshabini/Source/active-directory-aspnetcore-webapp-openidconnect-v2/1-WebApp-OIDC/1-7-B2C-Embedded/WebApp-OpenIDConnect-DotNet.csproj","projectName":"WebApp-OpenIDConnect-DotNet","projectPath":"/Users/hazemelshabini/Source/active-directory-aspnetcore-webapp-openidconnect-v2/1-WebApp-OIDC/1-7-B2C-Embedded/WebApp-OpenIDConnect-DotNet.csproj","outputPath":"/Users/hazemelshabini/Source/active-directory-aspnetcore-webapp-openidconnect-v2/1-WebApp-OIDC/1-7-B2C-Embedded/obj/","projectStyle":"PackageReference","originalTargetFrameworks":["netcoreapp3.1"],"sources":{"https://api.nuget.org/v3/index.json":{}},"frameworks":{"netcoreapp3.1":{"targetAlias":"netcoreapp3.1","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]}}"frameworks":{"netcoreapp3.1":{"targetAlias":"netcoreapp3.1","dependencies":{"Microsoft.Identity.Web":{"target":"Package","version":"[1.9.0, )"},"Microsoft.Identity.Web.UI":{"target":"Package","version":"[1.9.0, )"}},"imports":["net461","net462","net47","net471","net472","net48"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.AspNetCore.App":{"privateAssets":"none"},"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"/usr/local/share/dotnet/sdk/5.0.201/RuntimeIdentifierGraph.json"}} -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/AppAuth/Source/OIDResponseTypes.h: -------------------------------------------------------------------------------- 1 | /*! @file OIDResponseTypes.h 2 | @brief AppAuth iOS SDK 3 | @copyright 4 | Copyright 2015 Google Inc. All Rights Reserved. 5 | @copydetails 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | */ 18 | 19 | #import 20 | 21 | /*! @brief A constant for the standard OAuth2 Response Type of 'code'. 22 | */ 23 | extern NSString *const OIDResponseTypeCode; 24 | 25 | /*! @brief A constant for the standard OAuth2 Response Type of 'token'. 26 | */ 27 | extern NSString *const OIDResponseTypeToken; 28 | 29 | /*! @brief A constant for the standard OAuth2 Response Type of 'id_token'. 30 | */ 31 | extern NSString *const OIDResponseTypeIDToken; 32 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/AppAuth/Source/OIDURLSessionProvider.m: -------------------------------------------------------------------------------- 1 | /*! @file OIDURLSessionProvider.m 2 | @brief AppAuth iOS SDK 3 | @copyright 4 | Copyright 2015 Google Inc. All Rights Reserved. 5 | @copydetails 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | */ 18 | 19 | #import "OIDURLSessionProvider.h" 20 | 21 | NS_ASSUME_NONNULL_BEGIN 22 | 23 | static NSURLSession *__nullable gURLSession; 24 | 25 | @implementation OIDURLSessionProvider 26 | 27 | + (NSURLSession *)session { 28 | if (!gURLSession) { 29 | gURLSession = [NSURLSession sharedSession]; 30 | } 31 | return gURLSession; 32 | } 33 | 34 | + (void)setSession:(NSURLSession *)session { 35 | NSAssert(session, @"Parameter: |session| must be non-nil."); 36 | gURLSession = session; 37 | } 38 | @end 39 | NS_ASSUME_NONNULL_END 40 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/obj/Debug/netcoreapp3.1/WebApp-OpenIDConnect-DotNet.RazorTargetAssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System; 11 | using System.Reflection; 12 | 13 | [assembly: Microsoft.AspNetCore.Mvc.ApplicationParts.ProvideApplicationPartFactoryAttribute("Microsoft.AspNetCore.Mvc.ApplicationParts.CompiledRazorAssemblyApplicationPartFac" + 14 | "tory, Microsoft.AspNetCore.Mvc.Razor")] 15 | [assembly: System.Reflection.AssemblyCompanyAttribute("WebApp-OpenIDConnect-DotNet")] 16 | [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] 17 | [assembly: System.Reflection.AssemblyProductAttribute("WebApp-OpenIDConnect-DotNet")] 18 | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] 19 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] 20 | [assembly: System.Reflection.AssemblyTitleAttribute("WebApp-OpenIDConnect-DotNet.Views")] 21 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] 22 | 23 | // Generated by the MSBuild WriteCodeFragment class. 24 | 25 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/android/app/src/main/java/com/b2creact/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.b2creact; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import com.reactlibrary.RNAppAuthPackage; 7 | import com.facebook.react.ReactNativeHost; 8 | import com.facebook.react.ReactPackage; 9 | import com.facebook.react.shell.MainReactPackage; 10 | import com.facebook.soloader.SoLoader; 11 | 12 | import java.util.Arrays; 13 | import java.util.List; 14 | 15 | public class MainApplication extends Application implements ReactApplication { 16 | 17 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 18 | @Override 19 | public boolean getUseDeveloperSupport() { 20 | return BuildConfig.DEBUG; 21 | } 22 | 23 | @Override 24 | protected List getPackages() { 25 | return Arrays.asList( 26 | new MainReactPackage(), 27 | new RNAppAuthPackage() 28 | ); 29 | } 30 | 31 | @Override 32 | protected String getJSMainModuleName() { 33 | return "index"; 34 | } 35 | }; 36 | 37 | @Override 38 | public ReactNativeHost getReactNativeHost() { 39 | return mReactNativeHost; 40 | } 41 | 42 | @Override 43 | public void onCreate() { 44 | super.onCreate(); 45 | SoLoader.init(this, /* native exopackage */ false); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/AppAuth/Source/OIDClientMetadataParameters.m: -------------------------------------------------------------------------------- 1 | /*! @file OIDClientMetadataParameters.h 2 | @brief AppAuth iOS SDK 3 | @copyright 4 | Copyright 2016 The AppAuth for iOS Authors. All Rights Reserved. 5 | @copydetails 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | */ 18 | 19 | #import "OIDClientMetadataParameters.h" 20 | 21 | NSString *const OIDTokenEndpointAuthenticationMethodParam = @"token_endpoint_auth_method"; 22 | 23 | NSString *const OIDApplicationTypeParam = @"application_type"; 24 | 25 | NSString *const OIDRedirectURIsParam = @"redirect_uris"; 26 | 27 | NSString *const OIDResponseTypesParam = @"response_types"; 28 | 29 | NSString *const OIDGrantTypesParam = @"grant_types"; 30 | 31 | NSString *const OIDSubjectTypeParam = @"subject_type"; 32 | 33 | NSString *const OIDApplicationTypeNative = @"native"; 34 | -------------------------------------------------------------------------------- /apps/spa-angular-auth-oidc-client/source-code/src/app/auth.config.ts: -------------------------------------------------------------------------------- 1 | import { OpenIdConfiguration } from 'angular-auth-oidc-client'; 2 | export const authConfig: OpenIdConfiguration = { 3 | stsServer: 'https://localhost:44363', 4 | redirect_url: window.location.origin + '/', 5 | // The Client MUST validate that the aud (audience) Claim contains its client_id value registered at the Issuer identified by the iss (issuer) Claim as an audience. 6 | // The ID Token MUST be rejected if the ID Token does not list the Client as a valid audience, or if it contains additional audiences not trusted by the Client. 7 | client_id: 'singleapp', 8 | response_type: 'code', // 'id_token token' Implicit Flow 9 | scope: 'dataEventRecords openid', 10 | post_logout_redirect_uri: window.location.origin + '/Unauthorized', 11 | start_checksession: false, 12 | silent_renew: true, 13 | silent_renew_url: window.location.origin + '/silent-renew.html', 14 | post_login_route: '/dataeventrecords', 15 | 16 | forbidden_route: '/Forbidden', 17 | // HTTP 401 18 | unauthorized_route: '/Unauthorized', 19 | log_console_warning_active: true, 20 | log_console_debug_active: true, 21 | // id_token C8: The iat Claim can be used to reject tokens that were issued too far away from the current time, 22 | // limiting the amount of time that nonces need to be stored to prevent attacks.The acceptable range is Client specific. 23 | max_id_token_iat_offset_allowed_in_seconds: 10, 24 | } 25 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/Views/Shared/_LoginPartial.cshtml: -------------------------------------------------------------------------------- 1 | @using System.Security.Principal 2 | @if (User.Identity.IsAuthenticated) 3 | { 4 | 19 | } 20 | else 21 | { 22 | 28 | } 29 | -------------------------------------------------------------------------------- /apps/spa-angular-auth-oidc-client/source-code/src/app/app.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnDestroy, OnInit } from '@angular/core'; 2 | import { OidcSecurityService } from 'angular-auth-oidc-client'; 3 | 4 | @Component({ 5 | selector: 'app-root', 6 | templateUrl: 'app.component.html', 7 | }) 8 | export class AppComponent implements OnInit, OnDestroy { 9 | isAuthenticated: boolean; 10 | userData: any; 11 | 12 | constructor(public oidcSecurityService: OidcSecurityService) { 13 | if (this.oidcSecurityService.moduleSetup) { 14 | this.doCallbackLogicIfRequired(); 15 | } else { 16 | this.oidcSecurityService.onModuleSetup.subscribe(() => { 17 | this.doCallbackLogicIfRequired(); 18 | }); 19 | } 20 | } 21 | 22 | ngOnInit() { 23 | this.oidcSecurityService.getIsAuthorized().subscribe(auth => { 24 | this.isAuthenticated = auth; 25 | }); 26 | 27 | this.oidcSecurityService.getUserData().subscribe(userData => { 28 | this.userData = userData; 29 | }); 30 | } 31 | 32 | ngOnDestroy(): void {} 33 | 34 | login() { 35 | this.oidcSecurityService.authorize(); 36 | } 37 | 38 | logout() { 39 | this.oidcSecurityService.logoff(); 40 | } 41 | 42 | private doCallbackLogicIfRequired() { 43 | // Will do a callback, if the url has a code and state parameter. 44 | this.oidcSecurityService.authorizedCallbackWithCode(window.location.toString()); 45 | } 46 | } -------------------------------------------------------------------------------- /apps/web-java-springboot-api/src/main/java/com/fawltytowers2/javarestapib2c/security/CachingConfig.java: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT License. 3 | 4 | package com.fawltytowers2.javarestapib2c.security; 5 | 6 | import com.google.common.cache.CacheBuilder; 7 | import org.springframework.cache.Cache; 8 | import org.springframework.cache.CacheManager; 9 | import org.springframework.cache.annotation.EnableCaching; 10 | import org.springframework.cache.concurrent.ConcurrentMapCache; 11 | import org.springframework.cache.concurrent.ConcurrentMapCacheManager; 12 | import org.springframework.context.annotation.Bean; 13 | import org.springframework.context.annotation.Configuration; 14 | 15 | import java.util.concurrent.TimeUnit; 16 | 17 | @Configuration 18 | @EnableCaching 19 | public class CachingConfig { 20 | @Bean 21 | public CacheManager cacheManager() { 22 | return new ConcurrentMapCacheManager("tokens"){ 23 | @Override 24 | protected Cache createConcurrentMapCache(final String name) { 25 | return new ConcurrentMapCache(name, 26 | CacheBuilder 27 | .newBuilder() 28 | .expireAfterWrite(1, TimeUnit.HOURS)// AAD access tokens expires in 1 hour 29 | .maximumSize(1000) 30 | .build() 31 | .asMap(), false); 32 | } 33 | }; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /apps/spa-hellojs/source-code/B2C-v2jsapp/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("v2jsapp")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("v2jsapp")] 13 | [assembly: AssemblyCopyright("Copyright © 2016")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("f1ddf3fc-8d43-495f-a5c8-852c6b3f8799")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Revision and Build Numbers 33 | // by using the '*' as shown below: 34 | [assembly: AssemblyVersion("1.0.0.0")] 35 | [assembly: AssemblyFileVersion("1.0.0.0")] 36 | -------------------------------------------------------------------------------- /apps/web-nodejs-msal-embeddedSignin/policies/LocalAccounts/ProfileEdit.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 12 | soumiorgb2c.onmicrosoft.com 13 | B2C_1A_EmbeddedSignin_TrustFrameworkExtensions 14 | 15 | 16 | 17 | 18 | 19 | Allow 20 | 21 | 22 | PolicyProfile 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /apps/spa-hellojs-popup/source-code/B2C-v2jsapp/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("v2jsapp")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("v2jsapp")] 13 | [assembly: AssemblyCopyright("Copyright © 2016")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("f1ddf3fc-8d43-495f-a5c8-852c6b3f8799")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Revision and Build Numbers 33 | // by using the '*' as shown below: 34 | [assembly: AssemblyVersion("1.0.0.0")] 35 | [assembly: AssemblyFileVersion("1.0.0.0")] 36 | -------------------------------------------------------------------------------- /apps/web-nodejs-passportjs-embeddedSignin/policies/LocalAccounts/ProfileEdit.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 12 | soumiorgb2c.onmicrosoft.com 13 | B2C_1A_EmbeddedSignin_TrustFrameworkExtensions 14 | 15 | 16 | 17 | 18 | 19 | Allow 20 | 21 | 22 | PolicyProfile 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /apps/spa-angular-oauth2-oidc/source-code/my-app/src/app/app.component.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |

4 | Welcome to {{ title }}! 5 |

6 | Angular Logo 7 |
8 | 9 |

10 | Hallo 11 |

12 |

13 | Hallo, {{name}} 14 |

15 | 16 | 19 | 22 | 23 | 26 | 27 |
28 | 29 | 30 |
31 | 32 |
33 | Token expiration: ({{tokenExpiration}}) 34 |
35 | Token expiration date: ({{tokenExpirationDate}}) 36 |
37 | 38 | 39 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/android/app/BUCK: -------------------------------------------------------------------------------- 1 | # To learn about Buck see [Docs](https://buckbuild.com/). 2 | # To run your application with Buck: 3 | # - install Buck 4 | # - `npm start` - to start the packager 5 | # - `cd android` 6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` 7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck 8 | # - `buck install -r android/app` - compile, install and run application 9 | # 10 | 11 | load(":build_defs.bzl", "create_aar_targets", "create_jar_targets") 12 | 13 | lib_deps = [] 14 | 15 | create_aar_targets(glob(["libs/*.aar"])) 16 | 17 | create_jar_targets(glob(["libs/*.jar"])) 18 | 19 | android_library( 20 | name = "all-libs", 21 | exported_deps = lib_deps, 22 | ) 23 | 24 | android_library( 25 | name = "app-code", 26 | srcs = glob([ 27 | "src/main/java/**/*.java", 28 | ]), 29 | deps = [ 30 | ":all-libs", 31 | ":build_config", 32 | ":res", 33 | ], 34 | ) 35 | 36 | android_build_config( 37 | name = "build_config", 38 | package = "com.b2creact", 39 | ) 40 | 41 | android_resource( 42 | name = "res", 43 | package = "com.b2creact", 44 | res = "src/main/res", 45 | ) 46 | 47 | android_binary( 48 | name = "app", 49 | keystore = "//android/keystores:debug", 50 | manifest = "src/main/AndroidManifest.xml", 51 | package_type = "debug", 52 | deps = [ 53 | ":app-code", 54 | ], 55 | ) 56 | -------------------------------------------------------------------------------- /apps/web-nodejs-msal-embeddedSignin/policies/LocalAccounts/PasswordReset.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 12 | soumiorgb2c.onmicrosoft.com 13 | B2C_1A_EmbeddedSignin_TrustFrameworkExtensions 14 | 15 | 16 | 17 | 18 | 19 | Allow 20 | 21 | 22 | PolicyProfile 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/AppAuth/Source/OIDAuthStateChangeDelegate.h: -------------------------------------------------------------------------------- 1 | /*! @file OIDAuthStateChangeDelegate.h 2 | @brief AppAuth iOS SDK 3 | @copyright 4 | Copyright 2015 Google Inc. All Rights Reserved. 5 | @copydetails 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | */ 18 | 19 | #import 20 | 21 | @class OIDAuthState; 22 | 23 | NS_ASSUME_NONNULL_BEGIN 24 | 25 | /*! @protocol OIDAuthStateChangeDelegate 26 | @brief Delegate of the OIDAuthState used to monitor various changes in state. 27 | */ 28 | @protocol OIDAuthStateChangeDelegate 29 | 30 | /*! @brief Called when the authorization state changes and any backing storage needs to be updated. 31 | @param state The @c OIDAuthState that changed. 32 | @discussion If you are storing the authorization state, you should update the storage when the 33 | state changes. 34 | */ 35 | - (void)didChangeState:(OIDAuthState *)state; 36 | 37 | @end 38 | 39 | NS_ASSUME_NONNULL_END 40 | -------------------------------------------------------------------------------- /apps/web-nodejs-passportjs-embeddedSignin/policies/LocalAccounts/PasswordReset.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 12 | soumiorgb2c.onmicrosoft.com 13 | B2C_1A_EmbeddedSignin_TrustFrameworkExtensions 14 | 15 | 16 | 17 | 18 | 19 | Allow 20 | 21 | 22 | PolicyProfile 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /apps/spa-angular-oauth2-oidc/source-code/my-app/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "my-app", 3 | "version": "0.0.0", 4 | "scripts": { 5 | "ng": "ng", 6 | "start": "ng serve", 7 | "build": "ng build", 8 | "test": "ng test", 9 | "lint": "ng lint", 10 | "e2e": "ng e2e" 11 | }, 12 | "private": true, 13 | "dependencies": { 14 | "@angular/animations": "~7.2.0", 15 | "@angular/common": "~7.2.0", 16 | "@angular/compiler": "~7.2.0", 17 | "@angular/core": "~7.2.0", 18 | "@angular/forms": "~7.2.0", 19 | "@angular/platform-browser": "~7.2.0", 20 | "@angular/platform-browser-dynamic": "~7.2.0", 21 | "@angular/router": "~7.2.0", 22 | "angular-oauth2-oidc": "^5.0.2", 23 | "core-js": "^2.5.4", 24 | "hellojs": "^2.0.0-4", 25 | "rxjs": "~6.3.3", 26 | "tslib": "^1.9.0", 27 | "zone.js": "~0.8.26" 28 | }, 29 | "devDependencies": { 30 | "@angular-devkit/build-angular": "~0.13.0", 31 | "@angular/cli": "~7.3.5", 32 | "@angular/compiler-cli": "~7.2.0", 33 | "@angular/language-service": "~7.2.0", 34 | "@types/node": "~8.9.4", 35 | "@types/jasmine": "~2.8.8", 36 | "@types/jasminewd2": "~2.0.3", 37 | "codelyzer": "~4.5.0", 38 | "jasmine-core": "~2.99.1", 39 | "jasmine-spec-reporter": "~4.2.1", 40 | "karma": "~4.0.0", 41 | "karma-chrome-launcher": "~2.2.0", 42 | "karma-coverage-istanbul-reporter": "~2.0.1", 43 | "karma-jasmine": "~1.1.2", 44 | "karma-jasmine-html-reporter": "^0.2.2", 45 | "protractor": "~5.4.0", 46 | "ts-node": "~7.0.0", 47 | "tslint": "~5.11.0", 48 | "typescript": "~3.2.2" 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /apps/spa-angular-auth-oidc-client/source-code/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "my-app", 3 | "version": "0.0.0", 4 | "scripts": { 5 | "ng": "ng", 6 | "start": "ng serve", 7 | "build": "ng build", 8 | "test": "ng test", 9 | "lint": "ng lint", 10 | "e2e": "ng e2e" 11 | }, 12 | "private": true, 13 | "dependencies": { 14 | "@angular/animations": "~7.2.0", 15 | "@angular/common": "~7.2.0", 16 | "@angular/compiler": "~7.2.0", 17 | "@angular/core": "~7.2.0", 18 | "@angular/forms": "~7.2.0", 19 | "@angular/platform-browser": "~7.2.0", 20 | "@angular/platform-browser-dynamic": "~7.2.0", 21 | "@angular/router": "~7.2.0", 22 | "angular-auth-oidc-client": "10.0.0", 23 | "core-js": "^2.5.4", 24 | "rxjs": "~6.3.3", 25 | "tslib": "^1.10.0", 26 | "zone.js": "~0.8.26", 27 | "jsrsasign": "10.2.0" 28 | }, 29 | "devDependencies": { 30 | "@angular-devkit/build-angular": "~0.13.0", 31 | "@angular/cli": "~7.3.5", 32 | "@angular/compiler-cli": "~7.2.0", 33 | "@angular/language-service": "~7.2.0", 34 | "@types/node": "~8.9.4", 35 | "@types/jasmine": "~2.8.8", 36 | "@types/jasminewd2": "~2.0.3", 37 | "codelyzer": "~4.5.0", 38 | "jasmine-core": "~2.99.1", 39 | "jasmine-spec-reporter": "~4.2.1", 40 | "karma": "~4.0.0", 41 | "karma-chrome-launcher": "~2.2.0", 42 | "karma-coverage-istanbul-reporter": "~2.0.1", 43 | "karma-jasmine": "~1.1.2", 44 | "karma-jasmine-html-reporter": "^0.2.2", 45 | "protractor": "~5.4.0", 46 | "ts-node": "~7.0.0", 47 | "tslint": "~5.11.0", 48 | "typescript": "~3.2.2" 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/AppAuth/Source/OIDURLSessionProvider.h: -------------------------------------------------------------------------------- 1 | /*! @file OIDURLSessionProvider.h 2 | @brief AppAuth iOS SDK 3 | @copyright 4 | Copyright 2015 Google Inc. All Rights Reserved. 5 | @copydetails 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | */ 18 | 19 | #import 20 | 21 | NS_ASSUME_NONNULL_BEGIN 22 | 23 | /*! @brief A NSURLSession provider that allows clients to provide custom implementation 24 | for NSURLSession 25 | */ 26 | @interface OIDURLSessionProvider : NSObject 27 | 28 | /*! @brief Obtains the current @c NSURLSession; using the +[NSURLSession sharedSession] if 29 | no custom implementation is provided. 30 | @return NSURLSession object to be used for making network requests. 31 | */ 32 | + (NSURLSession *)session; 33 | 34 | /*! @brief Allows library consumers to change the @c NSURLSession instance used to make 35 | network requests. 36 | @param session The @c NSURLSession instance that should be used for making network requests. 37 | */ 38 | + (void)setSession:(NSURLSession *)session; 39 | @end 40 | NS_ASSUME_NONNULL_END 41 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/obj/WebApp-OpenIDConnect-DotNet.csproj.nuget.g.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | True 5 | NuGet 6 | $(MSBuildThisFileDirectory)project.assets.json 7 | /Users/hazemelshabini/.nuget/packages/ 8 | /Users/hazemelshabini/.nuget/packages/ 9 | PackageReference 10 | 5.8.0 11 | 12 | 13 | 14 | 15 | 16 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 17 | 18 | 19 | /Users/hazemelshabini/.nuget/packages/newtonsoft.json/10.0.1 20 | 21 | -------------------------------------------------------------------------------- /apps/web-nodejs-msal-embeddedSignin/policies/LocalAccounts/TrustFrameworkExtensions.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 12 | soumiorgb2c.onmicrosoft.com 13 | B2C_1A_EmbeddedSignin_TrustFrameworkBase 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | Local Account SignIn 23 | 24 | 25 | 26 | 2871595a-2aab-4356-8d7b-80cb8d19ec37 27 | ae681837-edf2-4705-8bf9-616e74f31992 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /apps/web-nodejs-passportjs-embeddedSignin/policies/LocalAccounts/TrustFrameworkExtensions.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 12 | soumiorgb2c.onmicrosoft.com 13 | B2C_1A_EmbeddedSignin_TrustFrameworkBase 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | Local Account SignIn 23 | 24 | 25 | 26 | 2871595a-2aab-4356-8d7b-80cb8d19ec37 27 | ae681837-edf2-4705-8bf9-616e74f31992 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/AppAuth/Source/iOS/OIDAuthorizationService+IOS.m: -------------------------------------------------------------------------------- 1 | /*! @file OIDAuthorizationService+IOS.m 2 | @brief AppAuth iOS SDK 3 | @copyright 4 | Copyright 2016 Google Inc. All Rights Reserved. 5 | @copydetails 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | */ 18 | 19 | #import "OIDAuthorizationService+IOS.h" 20 | 21 | #import "OIDExternalUserAgentIOS.h" 22 | 23 | NS_ASSUME_NONNULL_BEGIN 24 | 25 | @implementation OIDAuthorizationService (IOS) 26 | 27 | + (id) 28 | presentAuthorizationRequest:(OIDAuthorizationRequest *)request 29 | presentingViewController:(UIViewController *)presentingViewController 30 | callback:(OIDAuthorizationCallback)callback { 31 | OIDExternalUserAgentIOS *externalUserAgent = [[OIDExternalUserAgentIOS alloc] 32 | initWithPresentingViewController:presentingViewController]; 33 | return [self presentAuthorizationRequest:request externalUserAgent:externalUserAgent callback:callback]; 34 | } 35 | 36 | @end 37 | 38 | NS_ASSUME_NONNULL_END 39 | -------------------------------------------------------------------------------- /apps/web-dotnet-core-b2c-embedded/source-code/wwwroot/lib/jquery/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright JS Foundation and other contributors, https://js.foundation/ 2 | 3 | This software consists of voluntary contributions made by many 4 | individuals. For exact contribution history, see the revision history 5 | available at https://github.com/jquery/jquery 6 | 7 | The following license applies to all parts of this software except as 8 | documented below: 9 | 10 | ==== 11 | 12 | Permission is hereby granted, free of charge, to any person obtaining 13 | a copy of this software and associated documentation files (the 14 | "Software"), to deal in the Software without restriction, including 15 | without limitation the rights to use, copy, modify, merge, publish, 16 | distribute, sublicense, and/or sell copies of the Software, and to 17 | permit persons to whom the Software is furnished to do so, subject to 18 | the following conditions: 19 | 20 | The above copyright notice and this permission notice shall be 21 | included in all copies or substantial portions of the Software. 22 | 23 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 24 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 25 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 26 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 27 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 28 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 29 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 30 | 31 | ==== 32 | 33 | All files located in the node_modules and external directories are 34 | externally maintained libraries used by this software which have their 35 | own licenses; we recommend you read them, as their terms may differ from 36 | the terms above. 37 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/AppAuth/Source/iOS/OIDAuthState+IOS.m: -------------------------------------------------------------------------------- 1 | /*! @file OIDAuthState+IOS.m 2 | @brief AppAuth iOS SDK 3 | @copyright 4 | Copyright 2016 Google Inc. All Rights Reserved. 5 | @copydetails 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | */ 18 | 19 | #import "OIDAuthState+IOS.h" 20 | 21 | #import "OIDExternalUserAgentIOS.h" 22 | 23 | @implementation OIDAuthState (IOS) 24 | 25 | + (id) 26 | authStateByPresentingAuthorizationRequest:(OIDAuthorizationRequest *)authorizationRequest 27 | presentingViewController:(UIViewController *)presentingViewController 28 | callback:(OIDAuthStateAuthorizationCallback)callback { 29 | OIDExternalUserAgentIOS *externalUserAgent = 30 | [[OIDExternalUserAgentIOS alloc] 31 | initWithPresentingViewController:presentingViewController]; 32 | return [self authStateByPresentingAuthorizationRequest:authorizationRequest 33 | externalUserAgent:externalUserAgent 34 | callback:callback]; 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /apps/mobile-react-native-ios-android-appauth/source-code/ios/Pods/AppAuth/Source/OIDGrantTypes.h: -------------------------------------------------------------------------------- 1 | /*! @file OIDGrantTypes.h 2 | @brief AppAuth iOS SDK 3 | @copyright 4 | Copyright 2015 Google Inc. All Rights Reserved. 5 | @copydetails 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | */ 18 | 19 | #import 20 | 21 | /*! @brief For exchanging an authorization code for an access token. 22 | @see https://tools.ietf.org/html/rfc6749#section-4.1.3 23 | */ 24 | extern NSString *const OIDGrantTypeAuthorizationCode; 25 | 26 | /*! @brief For refreshing an access token with a refresh token. 27 | @see https://tools.ietf.org/html/rfc6749#section-6 28 | */ 29 | extern NSString *const OIDGrantTypeRefreshToken; 30 | 31 | /*! @brief For obtaining an access token with a username and password. 32 | @see https://tools.ietf.org/html/rfc6749#section-4.3.2 33 | */ 34 | extern NSString *const OIDGrantTypePassword; 35 | 36 | /*! @brief For obtaining an access token from the token endpoint using client credentials. 37 | @see https://tools.ietf.org/html/rfc6749#section-3.2.1 38 | @see https://tools.ietf.org/html/rfc6749#section-4.4.2 39 | */ 40 | extern NSString *const OIDGrantTypeClientCredentials; 41 | --------------------------------------------------------------------------------