Skip to content

tomislaveric/oauth

Repository files navigation

oauth

This is a simple OAuth2 client for iOS and macOS. It handles OAuth2 authorization, fetching access token or refresh token on expiration. The whole package is written with up to date async/await functions. The API has 3 functions to use:

tl;dr

This function returns the access_token if its still valid, if not, a refresh token is fetched. If this is invalid as well, the authorization process (login) will be triggered by ASWebAuthenticationSession.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages