You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
323 B
13 lines
323 B
import type { OpenIdConfiguration } from '@abp/core';
|
|
|
|
import { requestClient } from '@abp/request';
|
|
|
|
/**
|
|
* openid发现端点
|
|
* @returns OpenId配置数据
|
|
*/
|
|
export function discoveryApi(): Promise<OpenIdConfiguration> {
|
|
return requestClient.get<OpenIdConfiguration>(
|
|
'/.well-known/openid-configuration',
|
|
);
|
|
}
|
|
|