Skip to content

Commit

Permalink
Make function public
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewheberle committed Dec 20, 2023
1 parent e7d9520 commit 5cb5c1e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions includes/class-ahjwtauthsignin.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public function ahjwtauth_schedule_refresh_jwks() {
*
* @return array an associative array containing the key set
*/
private function ahjwtauth_refresh_jwks() {
public function ahjwtauth_refresh_jwks() {
$jwks_url = get_option( 'ahjwtauth-jwks-url' );
if ( '' === $jwks_url ) {
return true;
Expand Down Expand Up @@ -287,7 +287,7 @@ private function get_key() {
/**
* Returns a header in "HTTP" form into a form usable with $_SERVER['HEADER']
*
* The returned string is done by converting the configured settingto uppercase,
* The returned string is done by converting the configured setting to uppercase,
* replacing "-" with "_" and adding the prefix of "HTTP_".
*
* @return string the header name usable with _$SERVER
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://paypal.me/andrewheberle
Tags: jwt, sso, login, auth, authentication
Requires at least: 4.7
Tested up to: 6.3.2
Stable tag: 1.5.1
Stable tag: 1.5.2
Requires PHP: 7.0
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Expand Down Expand Up @@ -57,6 +57,9 @@ Currently only the HS256 and RS256 alorithms are supported.

== Changelog ==

= 1.5.2 =
* Make JWKS refresh function public

= 1.5.1 =
* Fixes for JWKS refresh process

Expand Down

0 comments on commit 5cb5c1e

Please sign in to comment.