refactor: update signIn method signature in ISamlService interface (#13036)

This commit is contained in:
Muhsin Shah C P 2025-06-18 13:09:06 +05:30 committed by GitHub
parent 175345479a
commit 957b1513af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 12 additions and 4 deletions

@ -1 +1 @@
Subproject commit 30369d01c3b334b759531c5b83129465868a93e9
Subproject commit 3dd7ce949b2abfe0aaf57b84b007083df0f4c1e1

@ -1 +1 @@
Subproject commit c4944896259fd05a6b8d50368518d846c2e4d486
Subproject commit 11dac9bf1ae3aed8629847da9cba8c9025e0c847

View file

@ -1,7 +1,11 @@
import UserResponse from '../models/user_response';
export interface ISamlService {
signIn(samlResponseId: string, configs: any, configId: string): Promise<UserResponse>;
signIn(
samlResponseId: string,
configs: any,
extraProps: { configId: string; orgSlug: string }
): Promise<UserResponse>;
getSAMLAuthorizationURL(configId: string): Promise<string>;
getSAMLAssert(SAMLResponse: string): Promise<any>;
saveSAMLResponse(configId: string, response: string): Promise<string>;

View file

@ -4,7 +4,11 @@ import UserResponse from '../models/user_response';
@Injectable()
export class SamlService implements ISamlService {
async signIn(samlResponseId: string, configs: any, configId: string): Promise<UserResponse> {
async signIn(
samlResponseId: string,
configs: any,
extraProps: { configId: string; orgSlug: string }
): Promise<UserResponse> {
throw new Error('Method not implemented');
}