summaryrefslogtreecommitdiffstats
path: root/src/sss_client
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2015-06-26 17:55:23 +0200
committerJakub Hrozek <jhrozek@redhat.com>2015-07-31 09:51:58 +0200
commit10703cd558016685ee778e333f1d4490238d46e7 (patch)
treefdeb34415d924e29d94091f66ff9444c9d3479c1 /src/sss_client
parent35f3a213e0f0f2c60e9b5f095a05388e21092ae2 (diff)
downloadsssd-10703cd558016685ee778e333f1d4490238d46e7.tar.gz
sssd-10703cd558016685ee778e333f1d4490238d46e7.tar.xz
sssd-10703cd558016685ee778e333f1d4490238d46e7.zip
authok: add support for Smart Card related authtokens
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/sss_client')
-rw-r--r--src/sss_client/sss_cli.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sss_client/sss_cli.h b/src/sss_client/sss_cli.h
index 0dfb525ba..3c4e938ae 100644
--- a/src/sss_client/sss_cli.h
+++ b/src/sss_client/sss_cli.h
@@ -308,6 +308,13 @@ enum sss_authtok_type {
SSS_AUTHTOK_TYPE_2FA = 0x0003, /**< Authentication token has two
* factors, they may or may no contain
* a trailing \\0 */
+ SSS_AUTHTOK_TYPE_SC_PIN = 0x0004, /**< Authentication token is a Smart
+ * Card pin, it may or may no contain
+ * a trailing \\0 */
+ SSS_AUTHTOK_TYPE_SC_KEYPAD = 0x0005, /**< Authentication token indicates
+ * Smart Card authentication is used
+ * and that the pin will be entered
+ * at the card reader. */
};
/**