Skip to main content

resolve

Function resolve 

Source
pub async fn resolve(
    storage: &MongoAdapter,
    config: &ServerConfig,
    authority: &Authority,
) -> Result<RequestContext, ParseError>
Expand description

Resolve a request into its context: session, roles, scope, schemas.

The order is upstream’s. The session is resolved first, because its three failures are what a client sees before anything else happens, and roles are expanded from the user it produces.