Documentation home pagelight logodark logo
  • Support
  • Dashboard
  • Dashboard
Auth
addSecurityKey()
Documentation
Reference
Guides
  • Documentation
  • Documentation
  • Community
  • Blog
  • API Documentation
    • Overview
    Backend Services
    • Authentication
    • Storage
    GraphQL
    • AI
    Client Libraries
    • JavaScript
      • Auth
        • HasuraAuthClient
        • changeEmail()
        • changePassword()
        • createPAT()
        • getAccessToken()
        • getAuthenticationStatus()
        • getDecodedAccessToken()
        • getHasuraClaim()
        • getHasuraClaims()
        • getSession()
        • getUser()
        • isAuthenticated()
        • isAuthenticatedAsync()
        • onAuthStateChanged()
        • onTokenChanged()
        • refreshSession()
        • resetPassword()
        • sendVerificationEmail()
        • signIn()
        • signInPAT()
        • signOut()
        • signUp()
        • addSecurityKey()
        • elevateEmailSecurityKey()
        • connectProvider()
      • Storage
      • GraphQL
      • Functions
    • React
    • Next.js
    • Vue
    Auth

    addSecurityKey()

    Use nhost.auth.addSecurityKey to add a security key to the user, using the WebAuthn API.

    ​
    Parameters


    nickname optional string

    optional human-readable nickname for the security key


    signUp()elevateEmailSecurityKey()
    twittergithublinkedin
    Powered by Mintlify
    On this page
    • Parameters