shield-workos 0.7.0

WorkOS method for Shield.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use bon::Builder;
use workos::UserManagementAuthenticationProvider;

#[derive(Builder, Clone, Debug)]
#[builder(on(String, into), state_mod(vis = "pub(crate)"))]
pub struct WorkosOptions {
    #[builder(default)]
    pub(crate) oauth_providers: Vec<UserManagementAuthenticationProvider>,
    // TODO: Generate automatically?
    pub(crate) redirect_url: String,
}