All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gu.identity.IdapiConfig.scala Maven / Gradle / Ivy

There is a newer version: 0.605
Show newest version
package com.gu.identity

import com.typesafe.config.Config

case class IdapiConfig(
  url: String,
  token: String
)

object IdapiConfig {
  def from(config: Config, environmentName: String) = IdapiConfig(
    url = config.getString("identity.apiUrl"),
    token = config.getString("identity.apiToken")
  )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy