Class WebAuthn

    • Constructor Detail

      • WebAuthn

        public WebAuthn()
    • Method Detail

      • getRelyingPartyId

        protected java.lang.String getRelyingPartyId​(org.json.JSONObject value)
                                              throws org.json.JSONException
        Parse the relaying party id.
        Parameters:
        value - The json value to parse
        Returns:
        The relaying party id.
        Throws:
        org.json.JSONException - Failed to parse the json input.
      • getCredentials

        protected java.util.List<com.google.android.gms.fido.fido2.api.common.PublicKeyCredentialDescriptor> getCredentials​(org.json.JSONArray credentials)
                                                                                                                     throws org.json.JSONException
        Parse the PublicKeyCredentialDescriptor
        Parameters:
        credentials - The json array value to parse.
        Returns:
        The list of PublicKeyCredentialDescriptor
        Throws:
        org.json.JSONException - Failed to parse the json input.