]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Protocol/UserCredential.h
66862e99c0c531005c9333e5aa5146fcf8a7dfea
[mirror_edk2.git] / MdePkg / Include / Protocol / UserCredential.h
1 /** @file
2 UEFI 2.2 User Credential Protocol definition.
3
4 Attached to a device handle, this protocol identifies a single means of identifying the user.
5
6 Copyright (c) 2009, Intel Corporation
7 All rights reserved. This program and the accompanying materials
8 are licensed and made available under the terms and conditions of the BSD License
9 which accompanies this distribution. The full text of the license may be found at
10 http://opensource.org/licenses/bsd-license.php
11
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14
15 **/
16
17 #ifndef __USER_CREDENTIAL_H__
18 #define __USER_CREDENTIAL_H__
19
20 #define EFI_USER_CREDENTIAL_PROTOCOL_GUID \
21 { \
22 0x71ee5e94, 0x65b9, 0x45d5, { 0x82, 0x1a, 0x3a, 0x4d, 0x86, 0xcf, 0xe6, 0xbe } \
23 }
24
25 typedef VOID *EFI_USER_PROFILE_HANDLE;
26 typedef VOID *EFI_USER_INFO_HANDLE;
27
28 ///
29 /// The attributes of the user profile information.
30 ///
31 typedef UINT16 EFI_USER_INFO_ATTRIBS;
32 #define EFI_USER_INFO_STORAGE 0x000F
33 #define EFI_USER_INFO_STORAGE_VOLATILE 0x0000
34 #define EFI_USER_INFO_STORAGE_CREDENTIAL_NV 0x0001
35 #define EFI_USER_INFO_STORAGE_PLATFORM_NV 0x0002
36
37 #define EFI_USER_INFO_ACCESS 0x0070
38 #define EFI_USER_INFO_PUBLIC 0x0010
39 #define EFI_USER_INFO_PRIVATE 0x0020
40 #define EFI_USER_INFO_PROTECTED 0x0030
41 #define EFI_USER_INFO_EXCLUSIVE 0x0080
42
43 ///
44 /// User information structure
45 ///
46 typedef struct {
47 ///
48 /// The user credential identifier associated with this user information or else Nil if the
49 /// information is not associated with any specific credential.
50 ///
51 EFI_GUID Credential;
52 ///
53 /// The type of user information.
54 ///
55 UINT8 InfoType;
56 ///
57 /// Must be set to 0.
58 ///
59 UINT8 Reserved1;
60 ///
61 /// The attributes of the user profile information.
62 ///
63 EFI_USER_INFO_ATTRIBS InfoAttribs;
64 ///
65 /// The size of the user information, in bytes, including this header.
66 ///
67 UINT32 InfoSize;
68 } EFI_USER_INFO;
69
70 ///
71 /// User credential class GUIDs
72 ///
73 #define EFI_USER_CREDENTIAL_CLASS_UNKNOWN \
74 { 0x5cf32e68, 0x7660, 0x449b, { 0x80, 0xe6, 0x7e, 0xa3, 0x6e, 0x3, 0xf6, 0xa8 } }
75 #define EFI_USER_CREDENTIAL_CLASS_PASSWORD \
76 { 0xf8e5058c, 0xccb6, 0x4714, { 0xb2, 0x20, 0x3f, 0x7e, 0x3a, 0x64, 0xb, 0xd1 } }
77 #define EFI_USER_CREDENTIAL_CLASS_SMART_CARD \
78 { 0x5f03ba33, 0x8c6b, 0x4c24, { 0xaa, 0x2e, 0x14, 0xa2, 0x65, 0x7b, 0xd4, 0x54 } }
79 #define EFI_USER_CREDENTIAL_CLASS_FINGERPRINT \
80 { 0x32cba21f, 0xf308, 0x4cbc, { 0x9a, 0xb5, 0xf5, 0xa3, 0x69, 0x9f, 0x4, 0x4a } }
81 #define EFI_USER_CREDENTIAL_CLASS_HANDPRINT \
82 { 0x5917ef16, 0xf723, 0x4bb9, { 0xa6, 0x4b, 0xd8, 0xc5, 0x32, 0xf4, 0xd8, 0xb5 } }
83 #define EFI_USER_CREDENTIAL_CLASS_SECURE_CARD \
84 { 0x8a6b4a83, 0x42fe, 0x45d2, { 0xa2, 0xef, 0x46, 0xf0, 0x6c, 0x7d, 0x98, 0x52 } }
85
86 typedef UINT64 EFI_CREDENTIAL_CAPABILITIES;
87 #define EFI_CREDENTIAL_CAPABILITIES_ENROLL 0x0000000000000001
88
89 ///
90 /// Credential logon flags
91 ///
92 typedef UINT32 EFI_CREDENTIAL_LOGON_FLAGS;
93 #define EFI_CREDENTIAL_LOGON_FLAG_AUTO 0x00000001
94 #define EFI_CREDENTIAL_LOGON_FLAG_DEFAULT 0x00000002
95
96 ///
97 /// User information record types
98 ///
99
100 ///
101 /// No information.
102 ///
103 #define EFI_USER_INFO_EMPTY_RECORD 0x00
104 ///
105 /// Provide the user's name for the enrolled user.
106 ///
107 #define EFI_USER_INFO_NAME_RECORD 0x01
108 typedef CHAR16 *EFI_USER_INFO_NAME;
109 ///
110 /// Provides the date and time when the user profile was created.
111 ///
112 #define EFI_USER_INFO_CREATE_DATE_RECORD 0x02
113 typedef EFI_TIME EFI_USER_INFO_CREATE_DATE;
114 ///
115 /// Provides the date and time when the user profile was selected.
116 ///
117 #define EFI_USER_INFO_USAGE_DATE_RECORD 0x03
118 typedef EFI_TIME EFI_USER_INFO_USAGE_DATE;
119 ///
120 /// Provides the number of times that the user profile has been selected.
121 ///
122 #define EFI_USER_INFO_USAGE_COUNT_RECORD 0x04
123 typedef UINT64 EFI_USER_INFO_USAGE_COUNT;
124 ///
125 /// Provides a unique non-volatile user identifier for each enrolled user.
126 ///
127 #define EFI_USER_INFO_IDENTIFIER_RECORD 0x05
128 typedef UINT8 EFI_USER_INFO_IDENTIFIER[16];
129 ///
130 /// Specifies the type of a particular credential associated with the user profile.
131 ///
132 #define EFI_USER_INFO_CREDENTIAL_TYPE_RECORD 0x06
133 typedef EFI_GUID EFI_USER_INFO_CREDENTIAL_TYPE;
134 ///
135 /// Specifies the user-readable name of a particular credential type.
136 ///
137 #define EFI_USER_INFO_CREDENTIAL_TYPE_NAME_RECORD 0x07
138 typedef CHAR16 *EFI_USER_INFO_CREDENTIAL_TYPE_NAME;
139 ///
140 /// Specifies the credential provider.
141 ///
142 #define EFI_USER_INFO_CREDENTIAL_PROVIDER_RECORD 0x08
143 typedef EFI_GUID EFI_USER_INFO_CREDENTIAL_PROVIDER;
144 ///
145 /// Specifies the user-readable name of a particular credential's provider.
146 ///
147 #define EFI_USER_INFO_CREDENTIAL_PROVIDER_NAME_RECORD 0x09
148 typedef CHAR16 *EFI_USER_INFO_CREDENTIAL_PROVIDER_NAME;
149 ///
150 /// Provides PKCS#11 credential information from a smart card.
151 ///
152 #define EFI_USER_INFO_PKCS11_RECORD 0x0A
153 ///
154 /// Provides standard biometric information in the format specified by the ISO 19785 (Common
155 /// Biometric Exchange Formats Framework) specification.
156 ///
157 #define EFI_USER_INFO_CBEFF_RECORD 0x0B
158 typedef VOID *EFI_USER_INFO_CBEFF;
159 ///
160 /// Indicates how close of a match the fingerprint must be in order to be considered a match.
161 ///
162 #define EFI_USER_INFO_FAR_RECORD 0x0C
163 typedef UINT8 EFI_USER_INFO_FAR;
164 ///
165 /// Indicates how many attempts the user has to with a particular credential before the system prevents
166 /// further attempts.
167 ///
168 #define EFI_USER_INFO_RETRY_RECORD 0x0D
169 typedef UINT8 EFI_USER_INFO_RETRY;
170 ///
171 /// Provides the user's pre-OS access rights.
172 ///
173 #define EFI_USER_INFO_ACCESS_POLICY_RECORD 0x0E
174
175 typedef struct {
176 UINT32 Type; ///< Specifies the type of user access control.
177 UINT32 Size; ///< Specifies the size of the user access control record, in bytes, including this header.
178 } EFI_USER_INFO_ACCESS_CONTROL;
179
180 typedef EFI_USER_INFO_ACCESS_CONTROL EFI_USER_INFO_ACCESS_POLICY;
181
182 ///
183 /// User Information access types
184 ///
185
186 ///
187 /// Forbids the user from booting or loading executables from the specified device path or any child
188 /// device paths.
189 ///
190 #define EFI_USER_INFO_ACCESS_FORBID_LOAD 0x00000001
191 ///
192 /// Permits the user from booting or loading executables from the specified device path or any child
193 /// device paths.
194 /// Note: in-consistency between code and the UEFI 2.3 specification here.
195 /// The definition EFI_USER_INFO_ACCESS_PERMIT_BOOT in the specification should be typo and wait for
196 /// spec update.
197 ///
198 #define EFI_USER_INFO_ACCESS_PERMIT_LOAD 0x00000002
199 ///
200 /// Presence of this record indicates that a user can update enrollment information.
201 ///
202 #define EFI_USER_INFO_ACCESS_ENROLL_SELF 0x00000003
203 ///
204 /// Presence of this record indicates that a user can enroll new users.
205 ///
206 #define EFI_USER_INFO_ACCESS_ENROLL_OTHERS 0x00000004
207 ///
208 /// Presence of this record indicates that a user can update the user information of any user.
209 ///
210 #define EFI_USER_INFO_ACCESS_MANAGE 0x00000005
211 ///
212 /// Describes permissions usable when configuring the platform.
213 ///
214 #define EFI_USER_INFO_ACCESS_SETUP 0x00000006
215 ///
216 /// Standard GUIDs for access to configure the platform.
217 ///
218 #define EFI_USER_INFO_ACCESS_SETUP_ADMIN_GUID \
219 { 0x85b75607, 0xf7ce, 0x471e, { 0xb7, 0xe4, 0x2a, 0xea, 0x5f, 0x72, 0x32, 0xee } }
220 #define EFI_USER_INFO_ACCESS_SETUP_NORMAL_GUID \
221 { 0x1db29ae0, 0x9dcb, 0x43bc, { 0x8d, 0x87, 0x5d, 0xa1, 0x49, 0x64, 0xdd, 0xe2 } }
222 #define EFI_USER_INFO_ACCESS_SETUP_RESTRICTED_GUID \
223 { 0xbdb38125, 0x4d63, 0x49f4, { 0x82, 0x12, 0x61, 0xcf, 0x5a, 0x19, 0xa, 0xf8 } }
224
225 ///
226 /// Forbids UEFI drivers from being started from the specified device path(s) or any child device paths.
227 ///
228 #define EFI_USER_INFO_ACCESS_FORBID_CONNECT 0x00000007
229 ///
230 /// Permits UEFI drivers to be started on the specified device path(s) or any child device paths.
231 ///
232 #define EFI_USER_INFO_ACCESS_PERMIT_CONNECT 0x00000008
233 ///
234 /// Modifies the boot order.
235 ///
236 #define EFI_USER_INFO_ACCESS_BOOT_ORDER 0x00000009
237 typedef UINT32 EFI_USER_INFO_ACCESS_BOOT_ORDER_HDR;
238
239 #define EFI_USER_INFO_ACCESS_BOOT_ORDER_MASK 0x0000000F
240 ///
241 /// Insert new boot options at the beginning of the boot order.
242 ///
243 #define EFI_USER_INFO_ACCESS_BOOT_ORDER_INSERT 0x00000000
244 ///
245 /// Append new boot options to the end of the boot order.
246 ///
247 #define EFI_USER_INFO_ACCESS_BOOT_ORDER_APPEND 0x00000001
248 ///
249 /// Replace the entire boot order.
250 ///
251 #define EFI_USER_INFO_ACCESS_BOOT_ORDER_REPLACE 0x00000002
252 ///
253 /// The Boot Manager will not attempt find a default boot device
254 /// when the default boot order is does not lead to a bootable device.
255 ///
256 #define EFI_USER_INFO_ACCESS_BOOT_ORDER_NODEFAULT 0x00000010
257
258 ///
259 /// Provides the expression which determines which credentials are required to assert user identity.
260 ///
261 #define EFI_USER_INFO_IDENTITY_POLICY_RECORD 0x0F
262
263 typedef struct {
264 UINT32 Type; ///< Specifies either an operator or a data item.
265 UINT32 Length; ///< The length of this block, in bytes, including this header.
266 } EFI_USER_INFO_IDENTITY_POLICY;
267
268 ///
269 /// User identity policy expression operators.
270 ///
271 #define EFI_USER_INFO_IDENTITY_FALSE 0x00
272 #define EFI_USER_INFO_IDENTITY_TRUE 0x01
273 #define EFI_USER_INFO_IDENTITY_CREDENTIAL_TYPE 0x02
274 #define EFI_USER_INFO_IDENTITY_CREDENTIAL_PROVIDER 0x03
275 #define EFI_USER_INFO_IDENTITY_NOT 0x10
276 #define EFI_USER_INFO_IDENTITY_AND 0x11
277 #define EFI_USER_INFO_IDENTITY_OR 0x12
278
279 ///
280 /// Provides placeholder for additional user profile information identified by a GUID.
281 ///
282 #define EFI_USER_INFO_GUID_RECORD 0xFF
283 typedef EFI_GUID EFI_USER_INFO_GUID;
284
285 ///
286 /// User information table
287 /// A collection of EFI_USER_INFO records, prefixed with this header.
288 ///
289 typedef struct {
290 UINT64 Size; ///< Total size of the user information table, in bytes.
291 } EFI_USER_INFO_TABLE;
292
293 typedef struct _EFI_USER_CREDENTIAL_PROTOCOL EFI_USER_CREDENTIAL_PROTOCOL;
294
295 /**
296 Enroll a user on a credential provider.
297
298 This function enrolls a user profile using this credential provider. If a user profile is successfully
299 enrolled, it calls the User Manager Protocol function Notify() to notify the user manager driver
300 that credential information has changed.
301
302 @param[in] This Points to this instance of the EFI_USER_CREDENTIAL_PROTOCOL.
303 @param[in] User The user profile to enroll.
304
305 @retval EFI_SUCCESS User profile was successfully enrolled.
306 @retval EFI_ACCESS_DENIED Current user profile does not permit enrollment on the user profile
307 handle. Either the user profile cannot enroll on any user profile or
308 cannot enroll on a user profile other than the current user profile.
309 @retval EFI_UNSUPPORTED This credential provider does not support enrollment in the pre-OS.
310 @retval EFI_DEVICE_ERROR The new credential could not be created because of a device error.
311 @retval EFI_INVALID_PARAMETER User does not refer to a valid user profile handle.
312 **/
313 typedef
314 EFI_STATUS
315 (EFIAPI *EFI_CREDENTIAL_ENROLL)(
316 IN CONST EFI_USER_CREDENTIAL_PROTOCOL *This,
317 IN EFI_USER_PROFILE_HANDLE User
318 );
319
320 /**
321 Returns the user interface information used during user identification.
322
323 This function returns information about the form used when interacting with the user during user
324 identification. The form is the first enabled form in the form-set class
325 EFI_HII_USER_CREDENTIAL_FORMSET_GUID installed on the HII handle HiiHandle. If
326 the user credential provider does not require a form to identify the user, then this function should
327 return EFI_NOT_FOUND.
328
329 @param[in] This Points to this instance of the EFI_USER_CREDENTIAL_PROTOCOL.
330 @param[out] Hii On return, holds the HII database handle.
331 @param[out] FormSetId On return, holds the identifier of the form set which contains
332 the form used during user identification.
333 @param[out] FormId On return, holds the identifier of the form used during user identification.
334
335 @retval EFI_SUCCESS Form returned successfully.
336 @retval EFI_NOT_FOUND Form not returned.
337 **/
338 typedef
339 EFI_STATUS
340 (EFIAPI *EFI_CREDENTIAL_FORM)(
341 IN CONST EFI_USER_CREDENTIAL_PROTOCOL *This,
342 OUT EFI_HII_HANDLE *Hii,
343 OUT EFI_GUID *FormSetId,
344 OUT EFI_FORM_ID *FormId
345 );
346
347 /**
348 Returns bitmap used to describe the credential provider type.
349
350 This optional function returns a bitmap which is less than or equal to the number of pixels specified
351 by Width and Height. If no such bitmap exists, then EFI_NOT_FOUND is returned.
352
353 @param[in] This Points to this instance of the EFI_USER_CREDENTIAL_PROTOCOL.
354 @param[in,out] Width On entry, points to the desired bitmap width. If NULL then no bitmap information will
355 be returned. On exit, points to the width of the bitmap returned.
356 @param[in,out] Height On entry, points to the desired bitmap height. If NULL then no bitmap information will
357 be returned. On exit, points to the height of the bitmap returned
358 @param[out] Hii On return, holds the HII database handle.
359 @param[out] Image On return, holds the HII image identifier.
360
361 @retval EFI_SUCCESS Image identifier returned successfully.
362 @retval EFI_NOT_FOUND Image identifier not returned.
363 **/
364 typedef
365 EFI_STATUS
366 (EFIAPI *EFI_CREDENTIAL_TILE)(
367 IN CONST EFI_USER_CREDENTIAL_PROTOCOL *This,
368 IN OUT UINTN *Width,
369 IN OUT UINTN *Height,
370 OUT EFI_HII_HANDLE *Hii,
371 OUT EFI_IMAGE_ID *Image
372 );
373
374 /**
375 Returns string used to describe the credential provider type.
376
377 This function returns a string which describes the credential provider. If no such string exists, then
378 EFI_NOT_FOUND is returned.
379
380 @param[in] This Points to this instance of the EFI_USER_CREDENTIAL_PROTOCOL.
381 @param[out] Hii On return, holds the HII database handle.
382 @param[out] String On return, holds the HII string identifier.
383
384 @retval EFI_SUCCESS String identifier returned successfully.
385 @retval EFI_NOT_FOUND String identifier not returned.
386 **/
387 typedef
388 EFI_STATUS
389 (EFIAPI *EFI_CREDENTIAL_TITLE)(
390 IN CONST EFI_USER_CREDENTIAL_PROTOCOL *This,
391 OUT EFI_HII_HANDLE *Hii,
392 OUT EFI_STRING_ID *String
393 );
394
395 /**
396 Return the user identifier associated with the currently authenticated user.
397
398 This function returns the user identifier of the user authenticated by this credential provider. This
399 function is called after the credential-related information has been submitted on a form OR after a
400 call to Default() has returned that this credential is ready to log on.
401
402 @param[in] This Points to this instance of the EFI_USER_CREDENTIAL_PROTOCOL.
403 @param[in] User The user profile handle of the user profile currently being considered by the user
404 identity manager. If NULL, then no user profile is currently under consideration.
405 @param[out] Identifier On return, points to the user identifier.
406
407 @retval EFI_SUCCESS User identifier returned successfully.
408 @retval EFI_NOT_READY No user identifier can be returned.
409 @retval EFI_ACCESS_DENIED The user has been locked out of this user credential.
410 **/
411 typedef
412 EFI_STATUS
413 (EFIAPI *EFI_CREDENTIAL_USER)(
414 IN CONST EFI_USER_CREDENTIAL_PROTOCOL *This,
415 IN EFI_USER_PROFILE_HANDLE User,
416 OUT EFI_USER_INFO_IDENTIFIER *Identifier
417 );
418
419 /**
420 Indicate that user interface interaction has begun for the specified credential.
421
422 This function is called when a credential provider is selected by the user. If AutoLogon returns
423 FALSE, then the user interface will be constructed by the User Identity Manager.
424
425 @param[in] This Points to this instance of the EFI_USER_CREDENTIAL_PROTOCOL.
426 @param[out] AutoLogon On return, points to the credential provider's capabilities after the credential provider
427 has been selected by the user.
428
429 @retval EFI_SUCCESS Credential provider successfully selected.
430 **/
431 typedef
432 EFI_STATUS
433 (EFIAPI *EFI_CREDENTIAL_SELECT)(
434 IN CONST EFI_USER_CREDENTIAL_PROTOCOL *This,
435 OUT EFI_CREDENTIAL_LOGON_FLAGS *AutoLogon
436 );
437
438 /**
439 Indicate that user interface interaction has ended for the specified credential.
440
441 This function is called when a credential provider is deselected by the user.
442
443 @param[in] This Points to this instance of the EFI_USER_CREDENTIAL_PROTOCOL.
444
445 @retval EFI_SUCCESS Credential provider successfully deselected.
446 **/
447 typedef
448 EFI_STATUS
449 (EFIAPI *EFI_CREDENTIAL_DESELECT)(
450 IN CONST EFI_USER_CREDENTIAL_PROTOCOL *This
451 );
452
453 /**
454 Return the default logon behavior for this user credential.
455
456 This function reports the default login behavior regarding this credential provider.
457
458 @param[in] This Points to this instance of the EFI_USER_CREDENTIAL_PROTOCOL.
459 @param[out] AutoLogon On return, holds whether the credential provider should be used by default to
460 automatically log on the user.
461
462 @retval EFI_SUCCESS Default information successfully returned.
463 **/
464 typedef
465 EFI_STATUS
466 (EFIAPI *EFI_CREDENTIAL_DEFAULT)(
467 IN CONST EFI_USER_CREDENTIAL_PROTOCOL *This,
468 OUT EFI_CREDENTIAL_LOGON_FLAGS *AutoLogon
469 );
470
471 /**
472 Return information attached to the credential provider.
473
474 This function returns user information.
475
476 @param[in] This Points to this instance of the EFI_USER_CREDENTIAL_PROTOCOL.
477 @param[in] UserInfo Handle of the user information data record.
478 @param[out] Info On entry, points to a buffer of at least *InfoSize bytes. On exit, holds the user
479 information. If the buffer is too small to hold the information, then
480 EFI_BUFFER_TOO_SMALL is returned and InfoSize is updated to contain the
481 number of bytes actually required.
482 @param[in,out] InfoSize On entry, points to the size of Info. On return, points to the size of the user
483 information.
484
485 @retval EFI_SUCCESS Information returned successfully.
486 @retval EFI_ACCESS_DENIED The information about the specified user cannot be accessed by the
487 current user.
488 @retval EFI_BUFFER_TOO_SMALL The size specified by InfoSize is too small to hold all of the user
489 information. The size required is returned in *InfoSize.
490 **/
491 typedef
492 EFI_STATUS
493 (EFIAPI *EFI_CREDENTIAL_GET_INFO)(
494 IN CONST EFI_USER_CREDENTIAL_PROTOCOL *This,
495 IN EFI_USER_INFO_HANDLE UserInfo,
496 OUT EFI_USER_INFO *Info,
497 IN OUT UINTN *InfoSize
498 );
499
500 /**
501 Enumerate all of the enrolled users on the platform.
502
503 This function returns the next user information record. To retrieve the first user information record
504 handle, point UserInfo at a NULL. Each subsequent call will retrieve another user information
505 record handle until there are no more, at which point UserInfo will point to NULL.
506
507 @param[in] This Points to this instance of the EFI_USER_CREDENTIAL_PROTOCOL.
508 @param[in,out] UserInfo On entry, points to the previous user information handle or NULL to start
509 enumeration. On exit, points to the next user information handle or NULL if there is
510 no more user information.
511
512 @retval EFI_SUCCESS User information returned.
513 @retval EFI_NOT_FOUND No more user information found.
514 **/
515 typedef
516 EFI_STATUS
517 (EFIAPI *EFI_CREDENTIAL_GET_NEXT_INFO)(
518 IN CONST EFI_USER_CREDENTIAL_PROTOCOL *This,
519 IN OUT EFI_USER_INFO_HANDLE *UserInfo
520 );
521
522 ///
523 /// This protocol provides support for a single class of credentials
524 ///
525 struct _EFI_USER_CREDENTIAL_PROTOCOL {
526 EFI_GUID Identifier; ///< Uniquely identifies this credential provider.
527 EFI_GUID Type; ///< Identifies this class of User Credential Provider.
528 EFI_CREDENTIAL_ENROLL Enroll;
529 EFI_CREDENTIAL_FORM Form;
530 EFI_CREDENTIAL_TILE Tile;
531 EFI_CREDENTIAL_TITLE Title;
532 EFI_CREDENTIAL_USER User;
533 EFI_CREDENTIAL_SELECT Select;
534 EFI_CREDENTIAL_DESELECT Deselect;
535 EFI_CREDENTIAL_DEFAULT Default;
536 EFI_CREDENTIAL_GET_INFO GetInfo;
537 EFI_CREDENTIAL_GET_NEXT_INFO GetNextInfo;
538 EFI_CREDENTIAL_CAPABILITIES Capabilities;
539 };
540
541 extern EFI_GUID gEfiUserCredentialProtocolGuid;
542
543 extern EFI_GUID gEfiUserCredentialClassUnknownGuid;
544 extern EFI_GUID gEfiUserCredentialClassPasswordGuid;
545 extern EFI_GUID gEfiUserCredentialClassSmartCardGuid;
546 extern EFI_GUID gEfiUserCredentialClassFingerprintGuid;
547 extern EFI_GUID gEfiUserCredentialClassHandprintGuid;
548 extern EFI_GUID gEfiUserCredentialClassSecureCardGuid;
549
550 extern EFI_GUID gEfiUserInfoAccessSetupAdminGuid;
551 extern EFI_GUID gEfiUserInfoAccessSetupNormalGuid;
552 extern EFI_GUID gEfiUserInfoAccessSetupRestrictedGuid;
553
554 #endif