Started rewriting SignIn component to use new V3 API. TODO methods: Google, Apple and SMS

This commit is contained in:
Noel Maróti
2026-11-22 19:36:44 +01:00
parent aa3e1de412
commit eeee9d5154
7 changed files with 1706 additions and 164 deletions

View File

@@ -0,0 +1,12 @@
import { InjectionToken } from '@angular/core';
import { environment } from '../environments/environment';
import { ChateniumClient } from 'chatenium-sdk-preview';
export const CHATENIUM_SDK = new InjectionToken<ChateniumClient>('CHATENIUM_SDK', {
providedIn: 'root',
factory: () => {
return new ChateniumClient({
baseUrl: environment.api_url
});
},
});