Credential

class Credential : Parcelable


Represents a user credential that can be used to authenticate to your app.

Summary

Public companion properties

Parcelable.Creator<Credential>

Public constructors

Credential(type: String, data: Bundle)

constructs an instance of Credential

Public functions

final Int
open Unit
writeToParcel(dest: Parcel, flags: Int)

Public properties

Bundle

the data associated with the credential

String

the type of the credential

Public companion properties

Public constructors

Credential

Credential(type: String, data: Bundle)

constructs an instance of Credential

Parameters
type: String

the type of the credential

data: Bundle

the data associated with the credential

Public functions

describeContents

final fun describeContents(): Int

writeToParcel

open fun writeToParcel(dest: Parcel, flags: Int): Unit

Public properties

data

val dataBundle

the data associated with the credential

type

val typeString

the type of the credential