File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
app/src/main/java/chat/rocket/android/authentication/loginoptions/presentation Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -68,19 +68,22 @@ class LoginOptionsPresenter @Inject constructor(
68
68
fun toLoginWithEmail () = navigator.toLogin(currentServer)
69
69
70
70
fun authenticateWithOauth (oauthToken : String , oauthSecret : String ) {
71
+ setupConnectionInfo(currentServer)
71
72
credentialToken = oauthToken
72
73
credentialSecret = oauthSecret
73
74
loginMethod = AuthenticationEvent .AuthenticationWithOauth
74
75
doAuthentication(TYPE_LOGIN_OAUTH )
75
76
}
76
77
77
78
fun authenticateWithCas (casToken : String ) {
79
+ setupConnectionInfo(currentServer)
78
80
credentialToken = casToken
79
81
loginMethod = AuthenticationEvent .AuthenticationWithCas
80
82
doAuthentication(TYPE_LOGIN_CAS )
81
83
}
82
84
83
85
fun authenticateWithSaml (samlToken : String ) {
86
+ setupConnectionInfo(currentServer)
84
87
credentialToken = samlToken
85
88
loginMethod = AuthenticationEvent .AuthenticationWithSaml
86
89
doAuthentication(TYPE_LOGIN_SAML )
You can’t perform that action at this time.
0 commit comments