Class OAuth2DeviceConfig

    • Field Detail

      • DEFAULT_OAUTH2_DEVICE_CODE_LIFESPAN

        public static final int DEFAULT_OAUTH2_DEVICE_CODE_LIFESPAN
        See Also:
        Constant Field Values
      • DEFAULT_OAUTH2_DEVICE_POLLING_INTERVAL

        public static final int DEFAULT_OAUTH2_DEVICE_POLLING_INTERVAL
        See Also:
        Constant Field Values
      • OAUTH2_DEVICE_CODE_LIFESPAN

        public static String OAUTH2_DEVICE_CODE_LIFESPAN
      • OAUTH2_DEVICE_POLLING_INTERVAL

        public static String OAUTH2_DEVICE_POLLING_INTERVAL
      • OAUTH2_DEVICE_CODE_LIFESPAN_PER_CLIENT

        public static String OAUTH2_DEVICE_CODE_LIFESPAN_PER_CLIENT
      • OAUTH2_DEVICE_POLLING_INTERVAL_PER_CLIENT

        public static String OAUTH2_DEVICE_POLLING_INTERVAL_PER_CLIENT
      • OAUTH2_DEVICE_AUTHORIZATION_GRANT_ENABLED

        public static final String OAUTH2_DEVICE_AUTHORIZATION_GRANT_ENABLED
        See Also:
        Constant Field Values
    • Constructor Detail

      • OAuth2DeviceConfig

        public OAuth2DeviceConfig​(RealmModel realm)
    • Method Detail

      • getLifespan

        public int getLifespan()
      • setOAuth2DeviceCodeLifespan

        public void setOAuth2DeviceCodeLifespan​(Integer seconds)
      • getPoolingInterval

        public int getPoolingInterval()
      • setOAuth2DevicePollingInterval

        public void setOAuth2DevicePollingInterval​(Integer seconds)
      • getLifespan

        public int getLifespan​(ClientModel client)
      • getPoolingInterval

        public int getPoolingInterval​(ClientModel client)
      • isOAuth2DeviceAuthorizationGrantEnabled

        public boolean isOAuth2DeviceAuthorizationGrantEnabled​(ClientModel client)