File tree 1 file changed +7
-1
lines changed
src/main/java/io/fusionauth/domain/oauth2 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2018-2019 , FusionAuth, All Rights Reserved
2
+ * Copyright (c) 2018-2022 , FusionAuth, All Rights Reserved
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
15
15
*/
16
16
package io .fusionauth .domain .oauth2 ;
17
17
18
+ import java .util .List ;
19
+
18
20
import com .fasterxml .jackson .annotation .JsonProperty ;
19
21
import com .inversoft .json .JacksonConstructor ;
20
22
import com .inversoft .json .ToString ;
23
+ import io .fusionauth .domain .TwoFactorMethod ;
21
24
22
25
/**
23
26
* @author Daniel DeGroff
@@ -35,6 +38,9 @@ public class OAuthError implements OAuthResponse {
35
38
@ JsonProperty ("error_uri" )
36
39
public String errorURI ;
37
40
41
+ @ JsonProperty ("two_factor_methods" )
42
+ public List <TwoFactorMethod > methods ;
43
+
38
44
@ JsonProperty ("error_reason" )
39
45
public OAuthErrorReason reason ;
40
46
You can’t perform that action at this time.
0 commit comments