@Target(allowedTargets = [AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.TYPE])
@Retention(value = AnnotationRetention.SOURCE)
@IntDef(value = [100, 500, 1000, 2000])
annotation PriorityHints


For our CredentialOption types, this allows us to categorize the default priority hint for those entries. We expect GetCustomCredentialOption to utilize, rarely, these differing priorities. These are subject to change by library owners, but will always remain backwards compatible, and will always ensure relative ordering of older sets are maintained.

Summary

Constants

const Int
const Int
const Int

Public constructors

Constants

PRIORITY_DEFAULT

Added in 1.3.0-alpha03
const val PRIORITY_DEFAULT = 2000: Int

PRIORITY_OIDC_OR_SIMILAR

Added in 1.3.0-alpha03
const val PRIORITY_OIDC_OR_SIMILAR = 500: Int

PRIORITY_PASSWORD_OR_SIMILAR

Added in 1.3.0-alpha03
const val PRIORITY_PASSWORD_OR_SIMILAR = 1000: Int

Public constructors

PriorityHints

PriorityHints()