Added logout

This commit is contained in:
斟酌 鵬兄 2022-08-31 22:35:13 +08:00
parent 26e522bab3
commit 93b5a804df

View File

@ -156,6 +156,13 @@ class Signin extends EventEmitter
handler( this, eArgs );
}
Logout( params, handler )
{
var [ url, data ] = this._endPointRes( "end_session_endpoint" );
var eArgs = new SignInEventArgs({ "redirect": url, "data": data });
handler( this, eArgs );
}
_endPointRes( endpoint, handler )
{
if( !this.spec )