:mod:`esgf.slcsclient` ====================== .. py:module:: esgf.slcsclient Module Contents --------------- .. function:: refresh_token(registry,token,userid) .. function:: save_token(registry,token,userid) Store the token in the database. .. py:class:: ESGFSLCSClient(request) .. method:: authorize() Redirect the user to the ESGF SLCS Server for authorisation. .. method:: callback() Convert an authorisation grant into an access token. .. method:: refresh_token() .. method:: get_token() .. method:: save_token(token) Store the token in the database. .. method:: delete_token() Remove token from database. .. method:: get_certificate() Generates a new private key and certificate request, submits the request to be signed by the SLCS CA and prints the resulting key/certificate pair. Uses automatic refreshing of tokens if they have expired.