Primary identifier, used to re-ask the issuing service for a service access token
Service access token to be injected into request to service
A mapping of service names to service tokens
A Token is an abstraction for the opaque string value for the JSON map that Keymaster returns
This is the primary interface for accessing tokens The incoming format from Keymaster is like this: { "auth_service" : "MMM", "service_tokens" : { "service_a": "AAA", "service_b": "BBB" } }
This is the primary interface for accessing tokens The incoming format from Keymaster is like this: { "auth_service" : "MMM", "service_tokens" : { "service_a": "AAA", "service_b": "BBB" } }
Tokens.empty.service("service_name") // returns None decode[Tokens](jsonString) // result in circe decode result
The token is missing
This provides the specification contracts for Keymaster auth.
The composition of these filters should work, e.g.:
val bpFilter = CustomerIdFilter andThen SessionIdFilter val loginFilters = bpFilter andThen ... val authFilters = bpFilter andThen IdentityFilter(???) andThen AccessFilter(???)