1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-10 09:22:25 +03:00

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. * Begin Single Sign On flows.
* @param mxClient the matrix client using which we should start the flow * @param {MatrixClient} mxClient the matrix client using which we should start the flow
* @param loginType the type of SSO it is, CAS/SSO. * @param {"sso"|"cas"} loginType the type of SSO it is, CAS/SSO.
*/ */
startSingleSignOn(mxClient: MatrixClient, loginType: "sso"|"cas") { startSingleSignOn(mxClient: MatrixClient, loginType: "sso"|"cas") {
const callbackUrl = this.getSSOCallbackUrl(mxClient.getHomeserverUrl(), mxClient.getIdentityServerUrl()); const callbackUrl = this.getSSOCallbackUrl(mxClient.getHomeserverUrl(), mxClient.getIdentityServerUrl());