@ -134,9 +134,30 @@ public final class OAuth2DeviceCodeAuthenticationProvider implements Authenticat
@@ -134,9 +134,30 @@ public final class OAuth2DeviceCodeAuthenticationProvider implements Authenticat
// The authorization request is still pending as the end user hasn't
// yet completed the user-interaction steps (Section 3.3). The
@ -165,23 +186,6 @@ public final class OAuth2DeviceCodeAuthenticationProvider implements Authenticat
@@ -165,23 +186,6 @@ public final class OAuth2DeviceCodeAuthenticationProvider implements Authenticat
thrownewOAuth2AuthenticationException(error);
}
// expired_token
// The "device_code" has expired, and the device authorization
// session has concluded. The client MAY commence a new device
// authorization request but SHOULD wait for user interaction before
@ -191,6 +191,7 @@ public class OAuth2DeviceCodeAuthenticationProviderTests {
@@ -191,6 +191,7 @@ public class OAuth2DeviceCodeAuthenticationProviderTests {
@ -209,7 +210,7 @@ public class OAuth2DeviceCodeAuthenticationProviderTests {
@@ -209,7 +210,7 @@ public class OAuth2DeviceCodeAuthenticationProviderTests {
@ -231,13 +232,36 @@ public class OAuth2DeviceCodeAuthenticationProviderTests {
@@ -231,13 +232,36 @@ public class OAuth2DeviceCodeAuthenticationProviderTests {