Restore old instance types (but deprecated)
This commit is contained in:
parent
542415dc4d
commit
c7ede9971b
2 changed files with 10 additions and 0 deletions
5
adapters/oidc/js/dist/keycloak-authz.d.ts
vendored
5
adapters/oidc/js/dist/keycloak-authz.d.ts
vendored
|
@ -82,6 +82,11 @@ export interface ResourcePermission {
|
|||
scopes?:string[]
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Instead of importing 'KeycloakAuthorizationInstance' you can import 'KeycloakAuthorization' directly as a type.
|
||||
*/
|
||||
export type KeycloakAuthorizationInstance = KeycloakAuthorization;
|
||||
|
||||
export default class KeycloakAuthorization {
|
||||
/**
|
||||
* Creates a new Keycloak client instance.
|
||||
|
|
5
adapters/oidc/js/dist/keycloak.d.ts
vendored
5
adapters/oidc/js/dist/keycloak.d.ts
vendored
|
@ -321,6 +321,11 @@ export interface KeycloakRoles {
|
|||
roles: string[];
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Instead of importing 'KeycloakInstance' you can import 'Keycloak' directly as a type.
|
||||
*/
|
||||
export type KeycloakInstance = Keycloak;
|
||||
|
||||
/**
|
||||
* A client for the Keycloak authentication server.
|
||||
* @see {@link https://keycloak.gitbooks.io/securing-client-applications-guide/content/topics/oidc/javascript-adapter.html|Keycloak JS adapter documentation}
|
||||
|
|
Loading…
Reference in a new issue