pub struct Oauth2ResourceServersReadTransaction { /* private fields */ }
Implementations
sourceimpl Oauth2ResourceServersReadTransaction
impl Oauth2ResourceServersReadTransaction
pub fn check_oauth2_token_exchange(
&self,
idms: &IdmServerProxyReadTransaction<'_>,
client_authz: Option<&str>,
token_req: &AccessTokenRequest,
ct: Duration,
async_tx: &Sender<DelayedAction>
) -> Result<AccessTokenResponse, Oauth2Error>
pub fn check_oauth2_token_introspect(
&self,
idms: &IdmServerProxyReadTransaction<'_>,
client_authz: &str,
intr_req: &AccessTokenIntrospectRequest,
ct: Duration
) -> Result<AccessTokenIntrospectResponse, Oauth2Error>
pub fn oauth2_openid_userinfo(
&self,
idms: &IdmServerProxyReadTransaction<'_>,
client_id: &str,
client_authz: &str,
ct: Duration
) -> Result<OidcToken, Oauth2Error>
pub fn oauth2_openid_discovery(
&self,
client_id: &str
) -> Result<OidcDiscoveryResponse, OperationError>
pub fn oauth2_openid_publickey(
&self,
client_id: &str
) -> Result<JwkKeySet, OperationError>
Auto Trait Implementations
impl RefUnwindSafe for Oauth2ResourceServersReadTransaction
impl Send for Oauth2ResourceServersReadTransaction
impl Sync for Oauth2ResourceServersReadTransaction
impl Unpin for Oauth2ResourceServersReadTransaction
impl UnwindSafe for Oauth2ResourceServersReadTransaction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more