xref: /freebsd/crypto/krb5/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_in_ccache.rst.txt (revision 7f2fe78b9dd5f51c821d771b63d2e096f6fd49e9)
1krb5_get_init_creds_opt_set_in_ccache -  Set an input credential cache in initial credential options.
2======================================================================================================
3
4..
5
6.. c:function:: krb5_error_code krb5_get_init_creds_opt_set_in_ccache(krb5_context context, krb5_get_init_creds_opt * opt, krb5_ccache ccache)
7
8..
9
10
11:param:
12
13	          **[in]** **context** - Library context
14
15	          **[in]** **opt** - Options
16
17	          **[in]** **ccache** - Credential cache handle
18
19
20..
21
22
23
24..
25
26
27
28
29
30
31
32If an input credential cache is set, then the krb5_get_init_creds family of APIs will read settings from it. Setting an input ccache is desirable when the application wishes to perform authentication in the same way (using the same preauthentication mechanisms, and making the same non-security- sensitive choices) as the previous authentication attempt, which stored information in the passed-in ccache.
33
34
35
36
37
38
39
40
41
42
43..
44
45
46
47
48.. note::
49
50	 New in 1.11
51
52
53