Skip to content

Commit

Permalink
add webauthn-* enrollment auth methods (#539)
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikprijck authored Jan 7, 2022
1 parent 3c24f6c commit a445e87
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion src/Auth0.ManagementApi/Models/EnrollmentAuthMethod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ public enum EnrollmentAuthMethod
Guardian,

[EnumMember(Value = "sms")]
SMS
SMS,

[EnumMember(Value = "webauthn-roaming")]
WebAuthNRoaming,

[EnumMember(Value = "webauthn-platform")]
WebAuthNPlatform,

}
}
2 changes: 1 addition & 1 deletion src/Auth0.ManagementApi/Models/EnrollmentsResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class EnrollmentsResponse
public string PhoneNumber { get; set; }

/// <summary>
/// Authentication method for this enrollment. Can be `authenticator`, `guardian`, or `sms`.
/// Authentication method for this enrollment. Can be `authenticator`, `guardian`, `sms`, `webauthn-roaming` or `webauthn-platform`.
/// </summary>
[JsonProperty("auth_method")]
[JsonConverter(typeof(StringEnumConverter))]
Expand Down

0 comments on commit a445e87

Please sign in to comment.