RStudio Launcher Plugin SDK  1.1.3
A software development kit for creating plugins that work the the RStudio Launcher.
Public Member Functions | List of all members
rstudio::launcher_plugins::local::LocalSecureCookie Class Reference

Reads and makes available the secure-cookie-key-file specified in the launcher.local.conf file. More...

#include <LocalSecureCookie.hpp>

Public Member Functions

 LocalSecureCookie ()=default
 Constructor.
 
Error initialize ()
 Reads and validates the secure-cookie-key from the location specified in the options. More...
 
const std::string & getKey () const
 Gets the secure cookie key. More...
 

Detailed Description

Reads and makes available the secure-cookie-key-file specified in the launcher.local.conf file.

Member Function Documentation

◆ getKey()

const std::string& rstudio::launcher_plugins::local::LocalSecureCookie::getKey ( ) const

Gets the secure cookie key.

Returns
The secure cookie key.

◆ initialize()

Error rstudio::launcher_plugins::local::LocalSecureCookie::initialize ( )

Reads and validates the secure-cookie-key from the location specified in the options.

Returns
Success if the secure-cookie-key exists and was valid; Error otherwise.

The documentation for this class was generated from the following file: