Skip to main content

CredentialsContainerMethods

pub trait CredentialsContainerMethods<D: DomTypes> {
    // Required methods
    fn Get(
        &self,
        realm: &mut CurrentRealm<'_>,
        options: &CredentialRequestOptions<D>,
    ) -> Fallible<Rc<D::Promise>>;
    fn Store(
        &self,
        realm: &mut CurrentRealm<'_>,
        credential: &D::Credential,
    ) -> Fallible<Rc<D::Promise>>;
    fn Create(
        &self,
        realm: &mut CurrentRealm<'_>,
        options: &CredentialCreationOptions<D>,
    ) -> Fallible<Rc<D::Promise>>;
    fn PreventSilentAccess(&self) -> Fallible<Rc<D::Promise>>;
}

Required Methods§

Source

fn Get( &self, realm: &mut CurrentRealm<'_>, options: &CredentialRequestOptions<D>, ) -> Fallible<Rc<D::Promise>>

Source

fn Store( &self, realm: &mut CurrentRealm<'_>, credential: &D::Credential, ) -> Fallible<Rc<D::Promise>>

Source

fn Create( &self, realm: &mut CurrentRealm<'_>, options: &CredentialCreationOptions<D>, ) -> Fallible<Rc<D::Promise>>

Source

fn PreventSilentAccess(&self) -> Fallible<Rc<D::Promise>>

Implementors§