sso-ui-jwt

Crates.iosso-ui-jwt
lib.rssso-ui-jwt
version0.4.0
sourcesrc
created_at2022-07-29 10:57:48.361157
updated_at2022-08-01 20:50:42.433814
descriptionRust library for JWT utilities from SSO UI
homepagehttps://github.com/ristekoss/rust-sso-ui-jwt
repositoryhttps://github.com/ristekoss/rust-sso-ui-jwt
max_upload_size
id634943
size86,699
Nayyara Airlangga (nayyara-airlangga)

documentation

https://docs.rs/sso-ui-jwt

README

rust-sso-ui-jwt

Rust library for JWT utilities from SSO UI

Universitas Indonesia (UI) uses a single sign on (SSO) mechanism for authentication and authorization of their services. The response body to a successful sign on is written in XML. It is generally a chore to reimplement the handling of entire SSO ticket validation and response body processing for students, committees, and organizations who'd like to use UI's SSO for student account authentication and authorization in their events.

That's why we decided to make this library. It parses the response data into a JSON format and we provide the SSO ticket validation mechanism as well as JWT utilities for the data.

Documentation

You can view the project's documentation in it's docs.rs website.

Usage

See the examples for reference on using this library.

Installation

Add this to your Cargo.toml file:

[dependencies]
sso-ui-jwt = "0.4"

Features

Enabling or disabling features can be done by configuring the library from Cargo.toml:

[dependencies.sso-ui-jwt]
version = "0.4"
features = ["log"]

As of right now, there are no default features implemented.

Full list of features:

  • log: Logs the messages within the library

Contributing

If you'd like to contribute to this project, please read our contributing guidelines before creating pull requsts.

Maintainers

This project is currently maintained by the following members of RISTEKOSS:

Commit count: 40

cargo fmt