esgf.slcsclient
¶
Module Contents¶
-
esgf.slcsclient.
refresh_token
(registry, token, userid)¶
-
esgf.slcsclient.
save_token
(registry, token, userid)¶ Store the token in the database.
-
class
esgf.slcsclient.
ESGFSLCSClient
(request)¶ Redirect the user to the ESGF SLCS Server for authorisation.
-
callback
()¶ Convert an authorisation grant into an access token.
-
refresh_token
()¶
-
get_token
()¶
-
save_token
(token)¶ Store the token in the database.
-
delete_token
()¶ Remove token from database.
-
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.