async createTenant()

in src/lib/store/modules/tenant.store.js [135:157]


    async createTenant(o, {username, firstName, lastName, email, password, tenantName, redirectUris, scope, domain, clientUri, logoUri, comment, applicationType, parentClientId, parentClientSecret}) {
        const res = await custosService.tenants.createTenant({
            username,
            firstName,
            lastName,
            email,
            password,
            tenantName,
            redirectUris,
            scope,
            domain,
            clientUri,
            logoUri,
            comment,
            applicationType,
            parentClientId,
            parentClientSecret
        });

        const {client_id, client_secret} = res.data;

        return {clientId: client_id, clientSecret: client_secret}
    },