Skip to content
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

Need updated sample for ADAL 2.6.0 #25

Open
tbechtum opened this issue Feb 14, 2018 · 2 comments
Open

Need updated sample for ADAL 2.6.0 #25

tbechtum opened this issue Feb 14, 2018 · 2 comments

Comments

@tbechtum
Copy link

Want to use new ADAL 2.6.0 and should migrate ADLogger.setLogCallBack. Could you deliver please an updated sample code version while your current sample uses still ADALiOS (1.2.9). Thanks and cheers!

@tbechtum
Copy link
Author

Used this Swift code which is working

ADLogger.setLoggerCallback { (ADAL_LOG_LEVEL_INFO, message, containsPii) in
if let message = message {
// e.g. message when you are not logged in: ADAL 2.6.0 iOS Sim 11.2 [2018-02-14 10:24:03 - E8DFA296-XXXX-XXXX-XXXX-1DXXXXXXXX42] No cached preferred_network for authority
print("(Date().logString()) (type(of: self)).acquireToken - (message)")
}
}

Please support Swift by a new sample code version. This would be really nice!

@JoNilsson
Copy link

JoNilsson commented Dec 6, 2019

Agreed. Swift sample codebases need more attention, especially with consideration to iOS 13 and brokered login flows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants