Comments (4)
@Akinnagbe
the refresh token is kept in the token cache maintained by ADAL.NET.
you should in general not handle refresh tokens. What is your scenario?
from active-directory-dotnet-native-multitarget.
Thanks a lot for the reply.
But this is the issue i have.
I need to know when the token expires, i.e. the ExpiresOn property is always set to same datetime when the Token was generated because when the app is loaded or resumed, need to know if the Token is expired or not.
Thanks
from active-directory-dotnet-native-multitarget.
The AuthenticationResult contains the Expiry date, @Akinnagbe. Does this work for you?
from active-directory-dotnet-native-multitarget.
This sample is now archived, there is a better sample taking advantage of the Microsoft identity platform (formerly Azure AD v2.0)
Check it out: https://github.com/Azure-Samples/active-directory-xamarin-native-v2
from active-directory-dotnet-native-multitarget.
Related Issues (20)
- AADSTS65001: The user or administrator has not consented to use the application HOT 5
- Xamarin.Forms adal Authentication
- Xamarin IOS sample does not work with linker set to "Link All" HOT 1
- How can I log out to change user HOT 1
- Update the sample to use the Azure portal (and not the Azure management portal)
- Error: 'User canceled Authentication' when running Universal Client HOT 14
- Please describe automation of provisioning AAD
- HintPath incorrectly points to ADAL library
- Optional steps required?? HOT 1
- get AccessToken for ADFS 3.0 OpenId HOT 2
- ADAL sign in on Android - rotation looses user email provided on sign in HOT 4
- Improve to show multiple search results, not just first one. HOT 1
- AdalClientException when initializing AuthenticationContext: TeamId returned null from the iOS keychain HOT 1
- Improve UI HOT 1
- Switch this to be a "To Do" sample HOT 1
- How does the ReturnUri work with android? HOT 4
- Xamarin.Auth - Could it work with Adal? HOT 1
- 3.2.204272344-alpha Microsoft.IdentityModel.Clients.ActiveDirectory HOT 5
- AADSTS90014 after entering password on Android HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from active-directory-dotnet-native-multitarget.