Description Details Value Methods Arguments
This class handles the authentication to an openEO back-end that supports "basic" as login type. The class handles the retrieval
of an access token by sending the encoded token consisting of user name and the password via HTTP header 'Authorization'. In
general the authentication will be done once via login
or multiple times when the lease time runs out. This class
is created and registered in the OpenEOClient
. After the login the user_id and the access_token is obtained which
will be used as Bearer token for the password restricted webservices.
The class inherits all fields and function from IAuth
an object of type R6Class
representing basic authentication
$new(endpoint,user,password)
the constructor with the login endpoint and the credentials
endpoint
the basic authentication endpoint as absolute URL
user
the user name
password
the user password
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.