diff --git a/signin.js b/signin.js index 2cd2a9a..a4a30e2 100644 --- a/signin.js +++ b/signin.js @@ -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 )