Class LoginScopes


  • public final class LoginScopes
    extends Object
    The configuration settings of the login flow, including the scopes that should be requested.
    • Constructor Detail

      • LoginScopes

        public LoginScopes()
    • Method Detail

      • scopes

        public List<String> scopes()
        Get the scopes property: A list of the scopes that should be requested while authenticating.
        Returns:
        the scopes value.
      • withScopes

        public LoginScopes withScopes​(List<String> scopes)
        Set the scopes property: A list of the scopes that should be requested while authenticating.
        Parameters:
        scopes - the scopes value to set.
        Returns:
        the LoginScopes object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.