Class OidcAuthorizationStore.DeviceCode

java.lang.Object
org.mockserver.oidc.OidcAuthorizationStore.DeviceCode
All Implemented Interfaces:
Serializable
Enclosing class:
OidcAuthorizationStore

public static class OidcAuthorizationStore.DeviceCode extends Object implements Serializable
Record of a device code issued by the device-authorization endpoint (RFC 8628). Carries the paired user_code, the requested scope, and a counter of how many authorization_pending polls remain before the device is "approved" and tokens are minted (drives the OidcProviderConfiguration.getDeviceCodePendingPolls() mock model).
See Also:
  • Constructor Details

    • DeviceCode

      public DeviceCode(String userCode, String scope, int pendingPolls)