ones_oidc/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
pub mod actions;
pub mod device;
mod device_config;
mod errors;
mod identifier;
mod oidc;
mod oidc_backend;
mod oidc_types;
mod utils;
mod well_known;

pub use device_config::{load_device_config, DeviceConfig};
pub use identifier::{IdentifierType, NewIdentifier};
pub use oidc::OpenIdconnectClient;
pub use oidc_backend::{
    AuthRequestResource, CibaLoginRequestFrontend, CibaStatusRequestFrontend,
    RefreshTokenRequestFrontend, QrStatusRequestFrontend
};
pub use oidc_types::{
    AuthenticatedEntity, AuthenticatedEntityKind, AuthenticationMethod, LoginHint
};
pub use utils::read_private_key;
pub use well_known::{
    get_applications_well_known, get_well_known_application_by_client_identifier, ApplicationType,
    ApplicationsWellKnown,
};
pub use errors::{
    OidcError,
    DeviceError,
    WellKnownApplicationsError
};