Trait ResolveAuthScheme

Source
pub trait ResolveAuthScheme:
    Send
    + Sync
    + Debug {
    // Required method
    fn resolve_auth_scheme<'a>(
        &'a self,
        params: &'a Params,
        cfg: &'a ConfigBag,
        runtime_components: &'a RuntimeComponents,
    ) -> AuthSchemeOptionsFuture<'a>;

    // Provided method
    fn into_shared_resolver(self) -> SharedAuthSchemeOptionResolver
       where Self: Sized + 'static { ... }
}
Expand description

Auth scheme resolver trait specific to AWS AppSync

Required Methods§

Source

fn resolve_auth_scheme<'a>( &'a self, params: &'a Params, cfg: &'a ConfigBag, runtime_components: &'a RuntimeComponents, ) -> AuthSchemeOptionsFuture<'a>

Resolve a priority list of auth scheme options with the given parameters

Provided Methods§

Source

fn into_shared_resolver(self) -> SharedAuthSchemeOptionResolver
where Self: Sized + 'static,

Convert this service-specific resolver into a SharedAuthSchemeOptionResolver

Implementors§