Documentation
¶
Overview ¶
Package credentials provides Go bindings for androidx.credentials.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
Init resolves all JNI class and method references for this package. It is safe to call multiple times (uses sync.Once internally). Exported for E2E testing on Android.
func NewgetCredentialRequestBuilder ¶ added in v0.0.5
NewgetCredentialRequestBuilder creates a new androidx.credentials.GetCredentialRequest$Builder instance.
Types ¶
type PasswordCredential ¶
PasswordCredential wraps androidx.credentials.PasswordCredential.
func (*PasswordCredential) ID ¶
func (m *PasswordCredential) ID() (string, error)
ID calls androidx.credentials.PasswordCredential.getId.
func (*PasswordCredential) Password ¶
func (m *PasswordCredential) Password() (string, error)
Password calls androidx.credentials.PasswordCredential.getPassword.
type PublicKeyCredential ¶
PublicKeyCredential wraps androidx.credentials.PublicKeyCredential.
func (*PublicKeyCredential) AuthResponseJSON ¶
func (m *PublicKeyCredential) AuthResponseJSON() (string, error)
AuthResponseJSON calls androidx.credentials.PublicKeyCredential.getAuthenticationResponseJson.