@arc-publishing/sdk-identity

JS Identity SDK for working with Identity API

Usage no npm install needed!

<script type="module">
  import arcPublishingSdkIdentity from 'https://cdn.skypack.dev/@arc-publishing/sdk-identity';
</script>

README

Identity

This SDK is responsible for interacting with the Arc Identity APIs. It will handle managing the JWT, sign-in, sign-out, registration and any other self-service account management functions.

Authentication

  • Properties
    • [[userIdentity]]
  • Methods
    • [[login]]
    • [[initFacebookLogin]]
    • [[facebookSignOn]]
    • [[initGoogleLogin]]
    • [[googleSignOn]]
    • [[requestMagicLink]] soon to be deprecated. Use requestOTALink instead
    • [[requestOTALink]]
    • [[redeemMagicLink]] soon to be deprecated. Use redeemOTALink instead
    • [[redeemOTALink]]
    • [[extendSession]]
    • [[logout]]

Profile

  • Properties
    • [[userProfile]]
  • Methods
    • [[signUp]] deprecated - use createAccount instead
    • [[createAccount]]
    • [[getUserProfile]]
    • [[updateUserProfile]]
    • [[requestVerifyEmail]]
    • [[verifyEmail]]
    • [[requestDeleteAccount]]
    • [[approveDeleteAccount]]
    • [[declineDeleteAccount]]
    • [[uploadAvatar]] _deprecated
    • [[deleteAvatar]] _deprecated

Password Reset

  • Methods
    • [[updatePassword]]
    • [[requestResetPassword]]
    • [[resetPassword]]

Configuration

  • Methods
    • [[getConfig]]
  • Properties
    • [[configOptions]]