@Target(allowedTargets = [AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.TYPE])
@Retention(value = AnnotationRetention.SOURCE)
@IntDef(value = [100, 500, 1000, 2000])
public 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

static final int
static final int
static final int

Public constructors

Constants

PRIORITY_DEFAULT

Added in 1.3.0-alpha03
public static final int PRIORITY_DEFAULT = 2000

PRIORITY_OIDC_OR_SIMILAR

Added in 1.3.0-alpha03
public static final int PRIORITY_OIDC_OR_SIMILAR = 500

PRIORITY_PASSWORD_OR_SIMILAR

Added in 1.3.0-alpha03
public static final int PRIORITY_PASSWORD_OR_SIMILAR = 1000

Public constructors

PriorityHints

public PriorityHints()