From 01a362aa9fcfd8363146538c32037d0aa6220cd7 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Sun, 23 Nov 2025 12:39:21 +0100 Subject: [PATCH] feat: add getter for cached oauth options (#10029) --- program/include/rcmail_oauth.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/program/include/rcmail_oauth.php b/program/include/rcmail_oauth.php index 60523d3f2..b36601cba 100644 --- a/program/include/rcmail_oauth.php +++ b/program/include/rcmail_oauth.php @@ -362,6 +362,16 @@ class rcmail_oauth return $this->last_error; } + /** + * Getter for OAuth options + * + * @return array OAuth configuration options + */ + public function get_options() + { + return $this->options; + } + /** * Callback for `loginform_content` hook *