You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-21 23:00:50 +03:00
Implement private_key_jwks client authentication
This involves a lot of things, including: - better VerifyingKeystore trait - better errors in the JOSE crate - getting rid of async_trait in some JOSE traits
This commit is contained in:
@@ -12,20 +12,14 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
use crate::layers::{get::Get, json::Json};
|
||||
use crate::layers::json::Json;
|
||||
|
||||
pub trait ServiceExt: Sized {
|
||||
fn json<T>(self) -> Json<Self, T>;
|
||||
|
||||
fn get(self) -> Get<Self>;
|
||||
}
|
||||
|
||||
impl<S> ServiceExt for S {
|
||||
fn json<T>(self) -> Json<Self, T> {
|
||||
Json::new(self)
|
||||
}
|
||||
|
||||
fn get(self) -> Get<Self> {
|
||||
Get::new(self)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user