InstalledAppAuthAdapterFactory

csw.aas.installed.InstalledAppAuthAdapterFactory

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def make(config: Config, locationService: LocationService, secretStore: AuthStore)(implicit executionContext: ExecutionContext): InstalledAppAuthAdapter

Creates an instance of InstalledAppAuthAdapter. Resolves authentication service using location service and ignores auth-server-url config parameter

Creates an instance of InstalledAppAuthAdapter. Resolves authentication service using location service and ignores auth-server-url config parameter

Value parameters

config

for InstalledAppAuthAdapter

executionContext

require for execution of asynchronous task

locationService

handle to csw.location.api.scaladsl.LocationService used to resolve location of aas

secretStore

store where all tokens will be stored. This library provides implementation for csw.aas.installed.scaladsl.FileAuthStore but one can choose to implement their own csw.aas.installed.api.AuthStore and plug it in here.

Attributes

Returns

handle to csw.aas.installed.api.InstalledAppAuthAdapter with which you can login, logout and get access tokens

def make(locationService: LocationService, secretStore: AuthStore)(implicit executionContext: ExecutionContext): InstalledAppAuthAdapter

Creates an instance of InstalledAppAuthAdapter. Resolves authentication service using location service and ignores auth-server-url config parameter

Creates an instance of InstalledAppAuthAdapter. Resolves authentication service using location service and ignores auth-server-url config parameter

Value parameters

executionContext

require for execution of asynchronous task

locationService

handle to csw.location.api.scaladsl.LocationService used to resolve location of aas

secretStore

store where all tokens will be stored. This library provides implementation for csw.aas.installed.scaladsl.FileAuthStore but one can choose to implement their own csw.aas.installed.api.AuthStore and plug it in here.

Attributes

Returns

handle to csw.aas.installed.api.InstalledAppAuthAdapter with which you can login, logout and get access tokens

def make(locationService: LocationService)(implicit executionContext: ExecutionContext): InstalledAppAuthAdapter

Creates an instance of InstalledAppAuthAdapter. Resolves authentication service using location service and ignores auth-server-url config parameter. Uses the default in memory auth store for storing all tokens

Creates an instance of InstalledAppAuthAdapter. Resolves authentication service using location service and ignores auth-server-url config parameter. Uses the default in memory auth store for storing all tokens

Value parameters

executionContext

require for execution of asynchronous task

locationService

handle to csw.location.api.scaladsl.LocationService used to resolve location of aas

Attributes

Returns

handle to csw.aas.installed.api.InstalledAppAuthAdapter with which you can login, logout and get access tokens