Package 

Class LoginConfiguration


  • 
    public final class LoginConfiguration
    
                        

    Configuration class to use for logging in with facebook

    • Constructor Detail

      • LoginConfiguration

        LoginConfiguration(Collection<String> permissions, String nonce)
        create a new configuration with the expected parameters.
        Parameters:
        permissions - the requested permissions for a login attempt.
        nonce - an optional nonce to use for the login attempt.
      • LoginConfiguration

        LoginConfiguration(Collection<String> permissions)
        create a new configuration with the expected parameters.
        Parameters:
        permissions - the requested permissions for a login attempt.
      • LoginConfiguration

        LoginConfiguration(Collection<String> permissions, String nonce, String codeVerifier)
        create a new configuration with the expected parameters.
        Parameters:
        permissions - the requested permissions for a login attempt.
        nonce - an optional nonce to use for the login attempt.
        codeVerifier - a cryptographically random string using the characters A-Z, a-z, 0-9, and the punctuation characters -._~ (hyphen, period, underscore, and tilde), between 43 and 128 characters long.
    • Method Detail

      • getPermissions

         final Set<String> getPermissions()

        The requested permissions for the login attempt. Defaults to an empty set.

      • getNonce

         final String getNonce()

        he nonce that the configuration was created with.

      • getCodeVerifier

         final String getCodeVerifier()

        PKCE code_verifier for getting the access_token and/or id_token