Skip to content

Commit

Permalink
Restore old instance types (but deprecated)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonkoops authored and abstractj committed Feb 16, 2022
1 parent 542415d commit c7ede99
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions adapters/oidc/js/dist/keycloak-authz.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
5 changes: 5 additions & 0 deletions adapters/oidc/js/dist/keycloak.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit c7ede99

Please sign in to comment.