View Source oidcc_jwt_util (Oidcc v3.2.0)
Summary
Types
-type refresh_jwks_for_unknown_kid_fun() :: fun((Jwks :: jose_jwk:key(), Kid :: binary()) -> {ok, jose_jwk:key()} | {error, term()}).
Functions
Link to this function
decrypt_and_verify(Jwt, Jwks, SigningAlgs, EncryptionAlgs, EncryptionEncs)
View Source-spec decrypt_and_verify(Jwt :: binary(), Jwks :: jose_jwk:key(), SigningAlgs :: [binary()] | undefined, EncryptionAlgs :: [binary()] | undefined, EncryptionEncs :: [binary()] | undefined) -> {ok, {#jose_jwt{fields :: map()}, #jose_jwe{alg :: undefined | {module(), any()}, enc :: undefined | {module(), any()}, zip :: undefined | {module(), any()}, fields :: map()} | #jose_jws{alg :: undefined | {module(), any()}, b64 :: undefined | boolean(), fields :: map()}}} | {error, error()}.