Skip to content

Okta.Xamarin v3

Compare
Choose a tag to compare
@bryanapellanes-okta bryanapellanes-okta released this 19 Oct 12:55
· 14 commits to master since this release
e4603e0

Update/correct handling of authorization server Id. Conveniences added and internal structure changes made to support future additions and extensions.

Fixes

  • Check StateManager for null on sign out
  • Don't fire SignInCompleted event on OAuthException

Changes

  • Refactored initialization process
  • Make demo application a submodule

Features

  • Added convenience methods to OktaContext to manage loading and saving state.
    • OktaContext.SaveStateAsync()
    • OktaContext.LoadStateAsync()
  • Added convenience methods for token revocation
    • OktaContext.RevokeAccessToken(accessToken)
    • OktaContext.RevokeRefreshToken(refreshToken)
  • Added initialization related events to OktaContext
    • InitServicesStarted
    • InitServicesCompleted
    • InitServicesException
  • Added secure storage related events to OktaContext
    • LoadStateStarted
    • LoadStateCompleted
    • LoadStateException
    • SecureStorageWriteStarted
    • SecureStorageWriteCompleted
    • SecureStorageWriteException
    • SecureStorageReadStarted
    • SecureStorageReadCompleted
    • SecureStorageReadException
  • Added token related exception events to OktaContext
    • RevokeException
    • RenewException
  • Added TinyIoCContainer
  • Added convenience methods to IOktaStateManager
    • GetAccessToken()
    • GetRefreshToken()
    • GetIdToken()