Remove useless code (#4416)

This commit is contained in:
Garfield Dai 2024-05-15 16:14:49 +08:00 • committed by GitHub
commit dd94931116
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 466 additions and 230 deletions

9
web/service/sso.ts Normal file
View file

@ -0,0 +1,9 @@
import { get } from './base'
export const getUserSAMLSSOUrl = () => {
return get<{ url: string }>('/enterprise/sso/saml/login')
}
export const getUserOIDCSSOUrl = () => {
return get<{ url: string; state: string }>('/enterprise/sso/oidc/login')
}