MCPcopy
hub / github.com/authts/oidc-client-ts / removeUser

Method removeUser

src/UserManager.ts:163–168  ·  view source on GitHub ↗

* Remove from any storage the currently authenticated user. * * @returns A promise

()

Source from the content-addressed store, hash-verified

161 * @returns A promise
162 */
163 public async removeUser(): Promise<void> {
164 const logger = this._logger.create("removeUser");
165 await this.storeUser(null);
166 logger.info("user removed from storage");
167 await this._events.unload();
168 }
169
170 /**
171 * Trigger a redirect of the current window to the authorization endpoint.

Callers 4

_signoutStartMethod · 0.95
removeUserFunction · 0.80
removeUserFunction · 0.80

Calls 4

storeUserMethod · 0.95
infoMethod · 0.65
createMethod · 0.45
unloadMethod · 0.45

Tested by

no test coverage detected