Gets a list with the policies in enforcer.
| this | |
| session_policies |
whether to include session policies |
|
a newly allocated list of policies. Use [func@GLib.List.free_full] and [method@HSTSPolicy.free] to free the list. |