Package com.mongodb.stitch.core.auth
Class ProviderCapabilities
- java.lang.Object
-
- com.mongodb.stitch.core.auth.ProviderCapabilities
-
public final class ProviderCapabilities extends Object
ProviderCapabilities outline to the Stitch auth components what a provider can or cannot do.
-
-
Constructor Summary
Constructors Constructor Description ProviderCapabilities()
Constructs the default capabilities.ProviderCapabilities(boolean reusesExistingSession)
Constructs capabilities.
-
Method Summary
Modifier and Type Method Description boolean
getReusesExistingSession()
Returns whether or not to reuse an existing sessions when the provider name and type are the same.
-
-
-
Constructor Detail
-
ProviderCapabilities
public ProviderCapabilities()
Constructs the default capabilities.
-
ProviderCapabilities
public ProviderCapabilities(boolean reusesExistingSession)
Constructs capabilities.- Parameters:
reusesExistingSession
- whether or not to reuse an existing sessions when the provider name and type are the same.
-
-