Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagec#
app.UseKodiakTokenValidation(
  {publicKeyString},  public key string,
    issuer, 
    audience, 
    name of project service, 
    database connection string, 
    SqlServer or Oracle
  );

Example:

Code Block
languagec#
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");