Package com.ngrok.definitions
Class EndpointSamlMutate
java.lang.Object
com.ngrok.definitions.EndpointSamlMutate
A class encapsulating the
EndpointSamlMutate
resource.-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
If true, the IdP may initiate a login directly (e.g.If present, only users who are a member of one of the listed groups may access the target endpoint.the prefix of the session cookie that ngrok sets on the http client to cache authentication.true
if the module will be applied to traffic,false
to disable.boolean
If true, indicates that whenever we redirect a user to the IdP for authentication that the IdP must prompt the user for authentication credentials even if the user already has a valid session with the IdP.The full XML IdP EntityDescriptor.long
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.Integer number of seconds of the maximum duration of an authenticated session.Defines the name identifier format the SP expects the IdP to use in its assertions to identify subjects.boolean
Do not enforce authentication on HTTP OPTIONS requests.int
hashCode()
static EndpointSamlMutate.Builder
Creates a new builder for theEndpointSamlMutate
type.toString()
-
Method Details
-
newBuilder
Creates a new builder for theEndpointSamlMutate
type.- Returns:
- a new
EndpointSamlMutate.Builder
-
getEnabled
true
if the module will be applied to traffic,false
to disable. defaulttrue
if unspecified- Returns:
- the value of the property as a
boolean
wrapped in anOptional
-
getOptionsPassthrough
public boolean getOptionsPassthrough()Do not enforce authentication on HTTP OPTIONS requests. necessary if you are supporting CORS.- Returns:
- the value of the property as a
boolean
-
getCookiePrefix
the prefix of the session cookie that ngrok sets on the http client to cache authentication. default is 'ngrok.'- Returns:
- the value of the property as a
String
-
getInactivityTimeout
public long getInactivityTimeout()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.- Returns:
- the value of the property as a
long
-
getMaximumDuration
Integer number of seconds of the maximum duration of an authenticated session. After this period is exceeded, a user must reauthenticate.- Returns:
- the value of the property as a
Duration
-
getIdpMetadata
The full XML IdP EntityDescriptor. Your IdP may provide this to you as a a file to download or as a URL.- Returns:
- the value of the property as a
String
-
getForceAuthn
public boolean getForceAuthn()If true, indicates that whenever we redirect a user to the IdP for authentication that the IdP must prompt the user for authentication credentials even if the user already has a valid session with the IdP.- Returns:
- the value of the property as a
boolean
-
getAllowIdpInitiated
If true, the IdP may initiate a login directly (e.g. the user does not need to visit the endpoint first and then be redirected). The IdP should set theRelayState
parameter to the target URL of the resource they want the user to be redirected to after the SAML login assertion has been processed.- Returns:
- the value of the property as a
boolean
wrapped in anOptional
-
getAuthorizedGroups
If present, only users who are a member of one of the listed groups may access the target endpoint. -
getNameidFormat
Defines the name identifier format the SP expects the IdP to use in its assertions to identify subjects. If unspecified, a default value ofurn:oasis:names:tc:SAML:2.0:nameid-format:persistent
will be used. A subset of the allowed values enumerated by the SAML specification are supported.- Returns:
- the value of the property as a
String
-
equals
-
hashCode
public int hashCode() -
toString
-