mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
refactor: update signIn method signature in ISamlService interface (#13036)
This commit is contained in:
parent
175345479a
commit
957b1513af
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
|
||||
|
|
@ -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>;
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue