pub trait WorkspaceService {
// Required method
fn get_workspaces(
&self,
auth_: BearerToken,
) -> Result<BTreeSet<Workspace>, Error>;
}
Expand description
This service provides information about workspaces. Workspaces provide access control boundaries. All resources in Nominal live within a workspace.
Required Methods§
Sourcefn get_workspaces(
&self,
auth_: BearerToken,
) -> Result<BTreeSet<Workspace>, Error>
fn get_workspaces( &self, auth_: BearerToken, ) -> Result<BTreeSet<Workspace>, Error>
Gets all workspaces that the requesting user belongs to.