Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Credential Manager] Add raw challenge JSON data #2949

Merged
merged 11 commits into from
Feb 12, 2024
Prev Previous commit
Next Next commit
Refactor WebauthnToken class declaration
  • Loading branch information
ThomazFB committed Feb 5, 2024
commit a89ebbafc1f73ce066b2798e2d2282ee241bb1a9
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@ package org.wordpress.android.fluxc.network.rest.wpcom.auth.webauthn

import com.android.volley.Response
import com.android.volley.Response.ErrorListener
import com.google.gson.annotations.SerializedName
import org.wordpress.android.fluxc.network.rest.wpcom.auth.webauthn.BaseWebauthnRequest.WebauthnRequestParameters.AUTH_TYPE
import org.wordpress.android.fluxc.network.rest.wpcom.auth.webauthn.BaseWebauthnRequest.WebauthnRequestParameters.CLIENT_DATA
import org.wordpress.android.fluxc.network.rest.wpcom.auth.webauthn.BaseWebauthnRequest.WebauthnRequestParameters.CLIENT_ID
@@ -54,3 +55,8 @@ class WebauthnTokenRequest(
override fun serializeResponse(response: String): WebauthnToken =
gson.fromJson(response, WebauthnToken::class.java)
}

class WebauthnToken(
@SerializedName("bearer_token")
val bearerToken: String
)

This file was deleted.