@authup/core
Version:
Package containing global constants, types & interfaces.
31 lines • 1.53 kB
TypeScript
import { Client as BaseClient } from 'hapic';
import { AuthorizeAPI, TokenAPI, UserInfoAPI } from '@hapic/oauth2';
import type { OAuth2JsonWebKey } from '../../auth';
import { ClientAPI, ClientScopeAPI, IdentityProviderAPI, IdentityProviderRoleAPI, PermissionAPI, RealmAPI, RobotAPI, RobotPermissionAPI, RobotRoleAPI, RoleAPI, RoleAttributeAPI, RolePermissionAPI, ScopeAPI, UserAPI, UserAttributeAPI, UserPermissionAPI, UserRoleAPI } from '../../domains';
import type { ClientAPIConfigInput } from './type';
export declare class APIClient extends BaseClient {
readonly token: TokenAPI;
readonly authorize: AuthorizeAPI;
readonly client: ClientAPI;
readonly clientScope: ClientScopeAPI;
readonly identityProvider: IdentityProviderAPI;
readonly identityProviderRole: IdentityProviderRoleAPI;
readonly permission: PermissionAPI;
readonly realm: RealmAPI;
readonly robot: RobotAPI;
readonly robotPermission: RobotPermissionAPI;
readonly robotRole: RobotRoleAPI;
readonly role: RoleAPI;
readonly roleAttribute: RoleAttributeAPI;
readonly rolePermission: RolePermissionAPI;
readonly scope: ScopeAPI;
readonly user: UserAPI;
readonly userInfo: UserInfoAPI;
readonly userAttribute: UserAttributeAPI;
readonly userPermission: UserPermissionAPI;
readonly userRole: UserRoleAPI;
constructor(config?: ClientAPIConfigInput);
getJwks(): Promise<OAuth2JsonWebKey[]>;
getJwk(id: string): Promise<OAuth2JsonWebKey>;
}
//# sourceMappingURL=module.d.ts.map