Show / Hide Table of Contents

Class PasswordRequirements

Requirements for the password used to unlock a device.

Inheritance
object
PasswordRequirements
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AndroidManagement.v1.Data
Assembly: Google.Apis.AndroidManagement.v1.dll
Syntax
public class PasswordRequirements : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

MaximumFailedPasswordsForWipe

Number of incorrect device-unlock passwords that can be entered before a device is wiped. A value of 0 means there is no restriction.

Declaration
[JsonProperty("maximumFailedPasswordsForWipe")]
public virtual int? MaximumFailedPasswordsForWipe { get; set; }
Property Value
Type Description
int?

PasswordExpirationTimeout

Password expiration timeout.

Declaration
[JsonProperty("passwordExpirationTimeout")]
public virtual object PasswordExpirationTimeout { get; set; }
Property Value
Type Description
object

PasswordHistoryLength

The length of the password history. After setting this field, the user won't be able to enter a new password that is the same as any password in the history. A value of 0 means there is no restriction.

Declaration
[JsonProperty("passwordHistoryLength")]
public virtual int? PasswordHistoryLength { get; set; }
Property Value
Type Description
int?

PasswordMinimumLength

The minimum allowed password length. A value of 0 means there is no restriction. Only enforced when password_quality is NUMERIC, NUMERIC_COMPLEX, ALPHABETIC, ALPHANUMERIC, or COMPLEX.

Declaration
[JsonProperty("passwordMinimumLength")]
public virtual int? PasswordMinimumLength { get; set; }
Property Value
Type Description
int?

PasswordMinimumLetters

Minimum number of letters required in the password. Only enforced when password_quality is COMPLEX.

Declaration
[JsonProperty("passwordMinimumLetters")]
public virtual int? PasswordMinimumLetters { get; set; }
Property Value
Type Description
int?

PasswordMinimumLowerCase

Minimum number of lower case letters required in the password. Only enforced when password_quality is COMPLEX.

Declaration
[JsonProperty("passwordMinimumLowerCase")]
public virtual int? PasswordMinimumLowerCase { get; set; }
Property Value
Type Description
int?

PasswordMinimumNonLetter

Minimum number of non-letter characters (numerical digits or symbols) required in the password. Only enforced when password_quality is COMPLEX.

Declaration
[JsonProperty("passwordMinimumNonLetter")]
public virtual int? PasswordMinimumNonLetter { get; set; }
Property Value
Type Description
int?

PasswordMinimumNumeric

Minimum number of numerical digits required in the password. Only enforced when password_quality is COMPLEX.

Declaration
[JsonProperty("passwordMinimumNumeric")]
public virtual int? PasswordMinimumNumeric { get; set; }
Property Value
Type Description
int?

PasswordMinimumSymbols

Minimum number of symbols required in the password. Only enforced when password_quality is COMPLEX.

Declaration
[JsonProperty("passwordMinimumSymbols")]
public virtual int? PasswordMinimumSymbols { get; set; }
Property Value
Type Description
int?

PasswordMinimumUpperCase

Minimum number of upper case letters required in the password. Only enforced when password_quality is COMPLEX.

Declaration
[JsonProperty("passwordMinimumUpperCase")]
public virtual int? PasswordMinimumUpperCase { get; set; }
Property Value
Type Description
int?

PasswordQuality

The required password quality.

Declaration
[JsonProperty("passwordQuality")]
public virtual string PasswordQuality { get; set; }
Property Value
Type Description
string

PasswordScope

The scope that the password requirement applies to.

Declaration
[JsonProperty("passwordScope")]
public virtual string PasswordScope { get; set; }
Property Value
Type Description
string

RequirePasswordUnlock

The length of time after a device or work profile is unlocked using a strong form of authentication (password, PIN, pattern) that it can be unlocked using any other authentication method (e.g. fingerprint, trust agents, face). After the specified time period elapses, only strong forms of authentication can be used to unlock the device or work profile.

Declaration
[JsonProperty("requirePasswordUnlock")]
public virtual string RequirePasswordUnlock { get; set; }
Property Value
Type Description
string

UnifiedLockSettings

Controls whether a unified lock is allowed for the device and the work profile, on devices running Android 9 and above with a work profile. This can be set only if password_scope is set to SCOPE_PROFILE, the policy will be rejected otherwise. If user has not set a separate work lock and this field is set to REQUIRE_SEPARATE_WORK_LOCK, a NonComplianceDetail is reported with nonComplianceReason set to USER_ACTION.

Declaration
[JsonProperty("unifiedLockSettings")]
public virtual string UnifiedLockSettings { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX