improve comments

This commit is contained in:
Michael Telatynski 2020-03-02 15:05:56 +00:00
parent f8045e428b
commit 4d9d5a1ab7

View file

@ -181,8 +181,8 @@ export default class BasePlatform {
/**
* Begin Single Sign On flows.
* @param mxClient the matrix client using which we should start the flow
* @param loginType the type of SSO it is, CAS/SSO.
* @param {MatrixClient} mxClient the matrix client using which we should start the flow
* @param {"sso"|"cas"} loginType the type of SSO it is, CAS/SSO.
*/
startSingleSignOn(mxClient: MatrixClient, loginType: "sso"|"cas") {
const callbackUrl = this.getSSOCallbackUrl(mxClient.getHomeserverUrl(), mxClient.getIdentityServerUrl());