Skip to content

Commit

Permalink
fix: $this->enc_type -> $this->encType
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDiver1975 committed Sep 28, 2022
1 parent fba1440 commit 1161b77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/OpenIDConnectClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ protected function generateRandString() {
throw new OpenIDConnectClientException('Random token generation failed.');
} catch (Exception $e) {
throw new OpenIDConnectClientException('Random token generation failed.');
};
}
}

/**
Expand Down Expand Up @@ -872,7 +872,7 @@ public function requestTokenExchange($subjectToken, $subjectTokenType, $audience
}

// Convert token params to string format
$post_params = http_build_query($post_data, null, '&', $this->enc_type);
$post_params = http_build_query($post_data, null, '&', $this->encType);

return json_decode($this->fetchURL($token_endpoint, $post_params, $headers));
}
Expand Down

0 comments on commit 1161b77

Please sign in to comment.