Class ProviderCapabilities


  • public final class ProviderCapabilities
    extends Object
    ProviderCapabilities outline to the Stitch auth components what a provider can or cannot do.
    • 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.
    • Method Detail

      • getReusesExistingSession

        public boolean getReusesExistingSession()
        Returns whether or not to reuse an existing sessions when the provider name and type are the same.
        Returns:
        whether or not to reuse an existing sessions when the provider name and type are the same.