prefixed_api_key/
controller_alias.rs1use crate::PrefixedApiKeyController;
2
3use rand::rngs::{OsRng, StdRng, ThreadRng};
4
5#[cfg(feature = "sha2")]
7use sha2::{Sha224, Sha256, Sha384, Sha512, Sha512_224, Sha512_256};
8
9#[cfg(feature = "sha2")]
10pub type PakControllerOsSha224 = PrefixedApiKeyController<OsRng, Sha224>;
11
12#[cfg(feature = "sha2")]
13pub type PakControllerOsSha256 = PrefixedApiKeyController<OsRng, Sha256>;
14
15#[cfg(feature = "sha2")]
16pub type PakControllerOsSha384 = PrefixedApiKeyController<OsRng, Sha384>;
17
18#[cfg(feature = "sha2")]
19pub type PakControllerOsSha512 = PrefixedApiKeyController<OsRng, Sha512>;
20
21#[cfg(feature = "sha2")]
22pub type PakControllerOsSha512_224 = PrefixedApiKeyController<OsRng, Sha512_224>;
23
24#[cfg(feature = "sha2")]
25pub type PakControllerOsSha512_256 = PrefixedApiKeyController<OsRng, Sha512_256>;
26
27#[cfg(feature = "sha2")]
29pub type PakControllerStdSha224 = PrefixedApiKeyController<StdRng, Sha224>;
30
31#[cfg(feature = "sha2")]
32pub type PakControllerStdSha256 = PrefixedApiKeyController<StdRng, Sha256>;
33
34#[cfg(feature = "sha2")]
35pub type PakControllerStdSha384 = PrefixedApiKeyController<StdRng, Sha384>;
36
37#[cfg(feature = "sha2")]
38pub type PakControllerStdSha512 = PrefixedApiKeyController<StdRng, Sha512>;
39
40#[cfg(feature = "sha2")]
41pub type PakControllerStdSha512_224 = PrefixedApiKeyController<StdRng, Sha512_224>;
42
43#[cfg(feature = "sha2")]
44pub type PakControllerStdSha512_256 = PrefixedApiKeyController<StdRng, Sha512_256>;
45
46#[cfg(feature = "sha2")]
48pub type PakControllerThreadSha224 = PrefixedApiKeyController<ThreadRng, Sha224>;
49
50#[cfg(feature = "sha2")]
51pub type PakControllerThreadSha256 = PrefixedApiKeyController<ThreadRng, Sha256>;
52
53#[cfg(feature = "sha2")]
54pub type PakControllerThreadSha384 = PrefixedApiKeyController<ThreadRng, Sha384>;
55
56#[cfg(feature = "sha2")]
57pub type PakControllerThreadSha512 = PrefixedApiKeyController<ThreadRng, Sha512>;
58
59#[cfg(feature = "sha2")]
60pub type PakControllerThreadSha512_224 = PrefixedApiKeyController<ThreadRng, Sha512_224>;
61
62#[cfg(feature = "sha2")]
63pub type PakControllerThreadSha512_256 = PrefixedApiKeyController<ThreadRng, Sha512_256>;