diff --git a/openeo.d.ts b/openeo.d.ts index 7f815609..4bafbad7 100644 --- a/openeo.d.ts +++ b/openeo.d.ts @@ -501,8 +501,8 @@ declare module OpenEO { * Adds a listener to one of the following events: * * - AccessTokenExpiring: Raised prior to the access token expiring. - * - accessTokenExpired: Raised after the access token has expired. - * - silentRenewError: Raised when the automatic silent renew has failed. + * - AccessTokenExpired: Raised after the access token has expired. + * - SilentRenewError: Raised when the automatic silent renew has failed. * * @param {string} event * @param {Function} callback diff --git a/src/oidcprovider.js b/src/oidcprovider.js index d7fce0ea..6c4c2a85 100644 --- a/src/oidcprovider.js +++ b/src/oidcprovider.js @@ -132,8 +132,8 @@ class OidcProvider extends AuthProvider { * Adds a listener to one of the following events: * * - AccessTokenExpiring: Raised prior to the access token expiring. - * - accessTokenExpired: Raised after the access token has expired. - * - silentRenewError: Raised when the automatic silent renew has failed. + * - AccessTokenExpired: Raised after the access token has expired. + * - SilentRenewError: Raised when the automatic silent renew has failed. * * @param {string} event * @param {Function} callback