Returns the list of authentication methods for the secure rcmds.
Authentication Methods Library (libauthm.a)
int get_auth_method (uint ** authm)
This method returns the authentication methods currently configured in the order in which they should be attempted in the unsigned integer pointer the user passed in.
The list in the unsigned integer pointer is either NULL (on an error) or is an array of unsigned integers terminated by a zero. Each integer identifies an authentication method. The order that a client should attempt to authenticate is defined by the order of the list.
The flags identifying the authentication methods are defined in the /usr/include/authm.h file.
Item | Description |
---|---|
authm | Points to an array of unsigned integers. The list of authentication methods is returned in the zero terminated list. |
Upon successful completion, the get_auth_method subroutine returns a zero.
Upon unsuccessful completion, the get_auth_method subroutine returns an errno.