AuthorizationResult


Description:

[ CCode ( has_construct_function = false ) ]
public AuthorizationResult (bool is_authorized, bool is_challenge, Details? details)

Creates a new AuthorizationResult object.

Parameters:

is_authorized

Whether the subject is authorized.

is_challenge

Whether the subject is authorized if more information is provided. Must be false unless is_authorized is true.

details

Must be null unless is_authorized is true

Returns:

A AuthorizationResult object. Free with unref.