summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_srp_server_get_username
blob: 47ebaa3989172a66917448633103585e2b1fddef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
@deftypefun {const char *} {gnutls_srp_server_get_username} (gnutls_session_t @var{session})
@var{session}: is a gnutls session

This function will return the username of the peer.  This should
only be called in case of SRP authentication and in case of a
server.  Returns NULL in case of an error.

@strong{Returns:} SRP username of the peer, or NULL in case of error.
@end deftypefun