Get or set various authorization options. If called without an argument, then
these functions return the current setting for the requested option (which can be
NULL if the option has not been set). To clear the setting, pass NULL as an
argument.
aw_auth_with sets the type of authorization for the session. This is used
as the default by aw_auth() when no specific option is given.
aw_auth_path sets the file path for the cached authorization token. It
should be a directory, rather than a filename. If this option is not set, the
current working directory is used instead.
aw_auth_name sets the file name for the cached authorization token. If this
option is not set, the default filename is aw_auth.rds
Arguments
- type
- The authorization type: 'oauth', 's2s', or 'jwt' 
- path
- The location for the cached authorization token. It should be a directory, rather than a filename. If this option is not set, the current working directory is used instead. If the location does not exist, it will be created the first time a token is cached. 
- name
- The filename, such as - aw_auth.rdsfor the cached authorization token file. The file is stored as an RDS file, but there is no requirement for the- .rdsfile extension.- .rdsis not appended automatically.
