-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update SDK reference for authenticate param #177
Update SDK reference for authenticate param #177
Conversation
@@ -818,10 +818,8 @@ public class Authgear { | |||
/// - xState: Use this parameter to provide parameters from the client application to Custom UI. The string in xState can be accessed by the Custom UI. Ignore this parameter if default AuthUI is used | |||
public func authenticate( | |||
redirectURI: String, | |||
state: String? = nil, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apply the same change to reauthenticate()
promoteAnonymousUser()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed state
from reauthenticate()
promoteAnonymousUser()
and added xState
description to them as well
@mickmak-busicat You need to format the code. The build failed. |
357c0f5
to
bbc2c3e
Compare
sorry missed that🙏 fixed up
|
@louischan-oursky see if this approach ok or not
i found there is already a
private authenticate
function for handling a completeAuthenticateOption
param, and all places usingpublic authenticate
function didnt use the two params that need to be hidden. so if they are not exposing then should be ok to remove from thepublic authenticate
functionPreview: