Comments (3)
Hello. Thank you for trying our SDK.
Idea of SDK is to hide complexity of refreshing tokens/checking expiry date etc. When using getUser funtion token will be refreshed:
https://github.com/aerogear/aerogear-ios-sdk/blob/master/modules/auth/AgsAuth.swift#L202
However if there will be use case when refresh token will be needed for end user then we can expose it. It may happen that there is bug and under some circumstances token is not refreshed properly. We will need more info to properly address this concern.
See HeaderProvider for more info.
from aerogear-ios-sdk.
You check if the access token is expired or not in the CurrentUser method.
So, if the access token is expired, I cannot use the refresh token.
I need to use the refresh token to be able to refresh the access token when the access token is expired. I want to use the refresh token with faceid and touchid to be able to sign in the app without typing username and password and I thought I could use the refresh token to be able to do that.
from aerogear-ios-sdk.
Sorry, I was using release 2.0.0 and you have made some changes.
from aerogear-ios-sdk.
Related Issues (14)
- ignore the cases when lookup service configurations based on types
- can not generate API docs HOT 1
- wrong format is being used for the API docs
- Allow retrieve Keycloak user attributes from the SDK HOT 3
- Allow developers to easily refresh the access token
- HTTP requests fail when response body is empty due to JSON parsing HOT 2
- SDK is throwing critical error when auth config is missing
- Allow to use bundled SDK's from ObjectiveC code
- SSO support enhancement
- Update the mobile config parser to parse the version as UInt not String HOT 2
- Add API doc links to asciidocs
- Update version of the swift HOT 1
- error running scripts/docs.sh HOT 2
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 aerogear-ios-sdk.