# Uses of Class
com.ngrok.definitions.EndpointOAuth.Builder

Packages that use EndpointOAuth.Builder
Package
Description
com.ngrok.definitions

- ## Uses of EndpointOAuth.Builder in com.ngrok.definitions

  Methods in com.ngrok.definitions that return EndpointOAuth.Builder
  Modifier and Type
  Method
  Description
  `EndpointOAuth.Builder`
  EndpointOAuth.Builder.`authCheckInterval(long authCheckInterval)`
  Integer number of seconds after which ngrok guarantees it will refresh user state from the identity provider and recheck whether the user is still authorized to access the endpoint.
  `EndpointOAuth.Builder`
  EndpointOAuth.Builder.`authCheckInterval(Optional<Long> authCheckInterval)`
  Integer number of seconds after which ngrok guarantees it will refresh user state from the identity provider and recheck whether the user is still authorized to access the endpoint.
  `EndpointOAuth.Builder`
  EndpointOAuth.Builder.`cookiePrefix(String cookiePrefix)`
  the prefix of the session cookie that ngrok sets on the http client to cache authentication.
  `EndpointOAuth.Builder`
  EndpointOAuth.Builder.`cookiePrefix(Optional<String> cookiePrefix)`
  the prefix of the session cookie that ngrok sets on the http client to cache authentication.
  `EndpointOAuth.Builder`
  EndpointOAuth.Builder.`enabled(boolean enabled)`
  `true` if the module will be applied to traffic, `false` to disable.
  `EndpointOAuth.Builder`
  EndpointOAuth.Builder.`enabled(Optional<Boolean> enabled)`
  `true` if the module will be applied to traffic, `false` to disable.
  `EndpointOAuth.Builder`
  EndpointOAuth.Builder.`inactivityTimeout(long inactivityTimeout)`
  Integer number of seconds of inactivity after which if the user has not accessed the endpoint, their session will time out and they will be forced to reauthenticate.
  `EndpointOAuth.Builder`
  EndpointOAuth.Builder.`inactivityTimeout(Optional<Long> inactivityTimeout)`
  Integer number of seconds of inactivity after which if the user has not accessed the endpoint, their session will time out and they will be forced to reauthenticate.
  `EndpointOAuth.Builder`
  EndpointOAuth.Builder.`maximumDuration(Duration maximumDuration)`
  Integer number of seconds of the maximum duration of an authenticated session.
  `EndpointOAuth.Builder`
  EndpointOAuth.Builder.`maximumDuration(Optional<Duration> maximumDuration)`
  Integer number of seconds of the maximum duration of an authenticated session.
  `static EndpointOAuth.Builder`
  EndpointOAuth.`newBuilder()`
  Creates a new builder for the `EndpointOAuth` type.
  `EndpointOAuth.Builder`
  EndpointOAuth.Builder.`optionsPassthrough(boolean optionsPassthrough)`
  Do not enforce authentication on HTTP OPTIONS requests.
  `EndpointOAuth.Builder`
  EndpointOAuth.Builder.`optionsPassthrough(Optional<Boolean> optionsPassthrough)`
  Do not enforce authentication on HTTP OPTIONS requests.
  `EndpointOAuth.Builder`
  EndpointOAuth.Builder.`provider(EndpointOAuthProvider provider)`
  an object which defines the identity provider to use for authentication and configuration for who may access the endpoint
  `EndpointOAuth.Builder`
  EndpointOAuth.Builder.`provider(Optional<EndpointOAuthProvider> provider)`
  an object which defines the identity provider to use for authentication and configuration for who may access the endpoint