config.EnableSwagger(c =>
{
c.IncludeXmlComments(docFactory);
....
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Master database: | |
| CREATE LOGIN SQLUSER | |
| WITH PASSWORD = 'Password123' | |
| GO | |
| # Service database: | |
| -- For login <login_name, sysname, login_name>, create a user in the database | |
| CREATE USER SQLUSER | |
| FOR LOGIN SQLUSER |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Contructor | |
| signClient=new Client("https://testapi.signere.no",accountId,apiKey,false,true,true); | |
| eventClient=EventClient.SetupWithPrimaryApiKey(eventConnectionString,accountId,apiKey) | |
| .UseTestEnvironment(true) | |
| .SubscribeToDocumentSignedEvent(signedEvent) | |
| .SubscribeToDocumentPadesSavedEvent(padesSavedEvent) | |
| .Start() | |
| ; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "swagger": "2.0", | |
| "info": { | |
| "version": "v1", | |
| "title": "IdentiSign Identify", | |
| "description": "This API enables authentication/identification through mutliple identityprvoiders such as Norwegian BankID, Swedish BankID, Nemid, etc.\r\n \r\n # Introduction\r\n This API is documented in **OpenAPI format** and is based on\r\n [Petstore sample](http://petstore.swagger.io/) provided by [swagger.io](http://swagger.io) team.\r\n It was **extended** to illustrate features of [generator-openapi-repo](https://github.com/Rebilly/generator-openapi-repo)\r\n tool and [ReDoc](https://github.com/Rebilly/ReDoc) documentation. In addition to standard\r\n OpenAPI syntax we use a few [vendor extensions](https://github.com/Rebilly/ReDoc/blob/master/docs/redoc-vendor-extensions.md).\r\n\r\n # OpenAPI Specification\r\n |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using Autofac; | |
| using Rebus.Activation; | |
| using Rebus.Autofac; | |
| using Rebus.Bus; | |
| using Rebus.Config; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Console: | |
| 'Performance.onwebkitresourcetimingbufferfull' is deprecated. Please use 'Performance.onresourcetimingbufferfull' instead. | |
| https://services-preprod.bankid.no/favicon.ico Failed to load resource: the server responded with a status of 403 (Forbidden) | |
| VM119:5709 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval'". Either the 'unsafe-inline' keyword, a hash ('sha256-d3JnQH6nyVjNaNs6mM9MYxbGoMf0FRfejNlZizFf2YU='), or a nonce ('nonce-...') is required to enable inline execution. | |
| Qj @ VM119:5709rB @ VM119:5729mS @ VM119:16534(anonymous function) @ VM119:16867$2 @ VM119:13043Pq @ VM119:722M @ VM119:2863x @ VM119:2873LC @ VM119:732(anonymous function) @ VM119:16929$2 @ VM119:13043e @ VM119:12750 | |
| VM119:5727 Refused to load the script 'data:text/javascript;base64,' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval'". | |
| x @ VM119:5727rB @ VM119:5730mS @ VM119:16534(anonymous functi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| JwtSecurityTokenHandler.InboundClaimTypeMap.Clear(); | |
| Alltid bruk Microsoft.Security namespace for Claims eller blir det rot |