@@ -910,6 +910,72 @@ export default class Security {
910
910
return await this . transport . request ( { path, method, querystring, body } , options )
911
911
}
912
912
913
+ async oidcAuthenticate ( this : That , params ?: T . TODO | TB . TODO , options ?: TransportRequestOptionsWithOutMeta ) : Promise < T . TODO >
914
+ async oidcAuthenticate ( this : That , params ?: T . TODO | TB . TODO , options ?: TransportRequestOptionsWithMeta ) : Promise < TransportResult < T . TODO , unknown > >
915
+ async oidcAuthenticate ( this : That , params ?: T . TODO | TB . TODO , options ?: TransportRequestOptions ) : Promise < T . TODO >
916
+ async oidcAuthenticate ( this : That , params ?: T . TODO | TB . TODO , options ?: TransportRequestOptions ) : Promise < any > {
917
+ const acceptedPath : string [ ] = [ ]
918
+ const querystring : Record < string , any > = { }
919
+ const body = undefined
920
+
921
+ params = params ?? { }
922
+ for ( const key in params ) {
923
+ if ( acceptedPath . includes ( key ) ) {
924
+ continue
925
+ } else if ( key !== 'body' ) {
926
+ querystring [ key ] = params [ key ]
927
+ }
928
+ }
929
+
930
+ const method = 'POST'
931
+ const path = '/_security/oidc/authenticate'
932
+ return await this . transport . request ( { path, method, querystring, body } , options )
933
+ }
934
+
935
+ async oidcLogout ( this : That , params ?: T . TODO | TB . TODO , options ?: TransportRequestOptionsWithOutMeta ) : Promise < T . TODO >
936
+ async oidcLogout ( this : That , params ?: T . TODO | TB . TODO , options ?: TransportRequestOptionsWithMeta ) : Promise < TransportResult < T . TODO , unknown > >
937
+ async oidcLogout ( this : That , params ?: T . TODO | TB . TODO , options ?: TransportRequestOptions ) : Promise < T . TODO >
938
+ async oidcLogout ( this : That , params ?: T . TODO | TB . TODO , options ?: TransportRequestOptions ) : Promise < any > {
939
+ const acceptedPath : string [ ] = [ ]
940
+ const querystring : Record < string , any > = { }
941
+ const body = undefined
942
+
943
+ params = params ?? { }
944
+ for ( const key in params ) {
945
+ if ( acceptedPath . includes ( key ) ) {
946
+ continue
947
+ } else if ( key !== 'body' ) {
948
+ querystring [ key ] = params [ key ]
949
+ }
950
+ }
951
+
952
+ const method = 'POST'
953
+ const path = '/_security/oidc/logout'
954
+ return await this . transport . request ( { path, method, querystring, body } , options )
955
+ }
956
+
957
+ async oidcPrepareAuthentication ( this : That , params ?: T . TODO | TB . TODO , options ?: TransportRequestOptionsWithOutMeta ) : Promise < T . TODO >
958
+ async oidcPrepareAuthentication ( this : That , params ?: T . TODO | TB . TODO , options ?: TransportRequestOptionsWithMeta ) : Promise < TransportResult < T . TODO , unknown > >
959
+ async oidcPrepareAuthentication ( this : That , params ?: T . TODO | TB . TODO , options ?: TransportRequestOptions ) : Promise < T . TODO >
960
+ async oidcPrepareAuthentication ( this : That , params ?: T . TODO | TB . TODO , options ?: TransportRequestOptions ) : Promise < any > {
961
+ const acceptedPath : string [ ] = [ ]
962
+ const querystring : Record < string , any > = { }
963
+ const body = undefined
964
+
965
+ params = params ?? { }
966
+ for ( const key in params ) {
967
+ if ( acceptedPath . includes ( key ) ) {
968
+ continue
969
+ } else if ( key !== 'body' ) {
970
+ querystring [ key ] = params [ key ]
971
+ }
972
+ }
973
+
974
+ const method = 'POST'
975
+ const path = '/_security/oidc/prepare'
976
+ return await this . transport . request ( { path, method, querystring, body } , options )
977
+ }
978
+
913
979
async putPrivileges ( this : That , params : T . SecurityPutPrivilegesRequest | TB . SecurityPutPrivilegesRequest , options ?: TransportRequestOptionsWithOutMeta ) : Promise < T . SecurityPutPrivilegesResponse >
914
980
async putPrivileges ( this : That , params : T . SecurityPutPrivilegesRequest | TB . SecurityPutPrivilegesRequest , options ?: TransportRequestOptionsWithMeta ) : Promise < TransportResult < T . SecurityPutPrivilegesResponse , unknown > >
915
981
async putPrivileges ( this : That , params : T . SecurityPutPrivilegesRequest | TB . SecurityPutPrivilegesRequest , options ?: TransportRequestOptions ) : Promise < T . SecurityPutPrivilegesResponse >
0 commit comments