...
Code Block | ||
---|---|---|
| ||
app.UseKodiakTokenValidation( {publicKeyString}, public key string, issuer, audience, name of project service, database connection string, SqlServer or Oracle ); |
Example:
Code Block | ||
---|---|---|
| ||
app.UseKodiakTokenValidation( "-----BEGIN PUBLIC KEY-----MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMI...", "https://kodiak-dev.kodi.internal/token-issuer-iis/.is", "https://kodiak.is/", "{serviceName}RequestForQuoteService", "{omsConnectionString} "Server=kodi-mssql;Initial Catalog=CATALOG;User Id=user;Password=pass;", "SqlServer" | Oracle"); |