Package com.ngrok.definitions
Class EndpointOAuthGoogle
java.lang.Object
com.ngrok.definitions.EndpointOAuthGoogle
A class encapsulating the
EndpointOAuthGoogle
resource.-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
the OAuth app client ID.the OAuth app client secret.a list of email addresses of users authenticated by identity provider who are allowed access to the endpointa list of email domains of users authenticated by identity provider who are allowed access to the endpointa list of provider-specific OAuth scopes with the permissions your OAuth app would like to ask for.int
hashCode()
static EndpointOAuthGoogle.Builder
Creates a new builder for theEndpointOAuthGoogle
type.toString()
-
Method Details
-
newBuilder
Creates a new builder for theEndpointOAuthGoogle
type.- Returns:
- a new
EndpointOAuthGoogle.Builder
-
getClientId
the OAuth app client ID. retrieve it from the identity provider's dashboard where you created your own OAuth app. optional. if unspecified, ngrok will use its own managed oauth application which has additional restrictions. see the OAuth module docs for more details. if present, client_secret must be present as well. -
getClientSecret
the OAuth app client secret. retrieve if from the identity provider's dashboard where you created your own OAuth app. optional, see all of the caveats in the docs forclient_id
. -
getScopes
a list of provider-specific OAuth scopes with the permissions your OAuth app would like to ask for. these may not be set if you are using the ngrok-managed oauth app (i.e. you must pass bothclient_id
andclient_secret
to set scopes) -
getEmailAddresses
a list of email addresses of users authenticated by identity provider who are allowed access to the endpoint -
getEmailDomains
a list of email domains of users authenticated by identity provider who are allowed access to the endpoint -
equals
-
hashCode
public int hashCode() -
toString
-