Skip to main content

invite

Function invite 

Source
pub fn invite(
    store: &AuthStore,
    p: &Principal,
    org: &OrgId,
    email: &str,
    role: Option<Role>,
    public_url: Option<&str>,
) -> Result<Value, AuthError>
Expand description

Invite email to org as role (default member). The answer carries the invitation token once, and a link when public_url is known.