com.gu

pandomainauth

package pandomainauth

Visibility
  1. Public
  2. All

Type Members

  1. class PublicSettings extends AnyRef

    Class that contains the static public settings and includes mechanism for fetching the public key.

    Class that contains the static public settings and includes mechanism for fetching the public key. The class is parametrized by domain because the keys will differ for different domains. It also requires a dispatch.Http instance for retrieving the data and an execution context.

    Once you have an instance you can call its start method to kick off loading the public data. In a Play app, consider using the Global object's onStart method to start these calls when the application comes up. If you'd rather use your own scheduler you can do so while still using the PublicSettings class by scheduling your own calls to its refresh method can also schdule the refresh yourself using the instance's

Value Members

  1. object PanDomain

  2. object PublicSettings

    Static PublicSettings for applications that do not want to use the provided mechanism for auto-refreshing public data.

  3. package model

  4. package service

Ungrouped