FreeRDP
Loading...
Searching...
No Matches
SdlAadAuthHelper Class Reference

#include <sdl_aad_helper.hpp>

Public Member Functions

 SdlAadAuthHelper (AadAuthHelper *helper)
 
 SdlAadAuthHelper (const SdlAadAuthHelper &)=delete
 
 SdlAadAuthHelper (SdlAadAuthHelper &&)=delete
 
SdlAadAuthHelperoperator= (const SdlAadAuthHelper &)=delete
 
SdlAadAuthHelperoperator= (SdlAadAuthHelper &&)=delete
 
void stop ()
 
AadAuthHelper * get () const
 

Detailed Description

FreeRDP: A Remote Desktop Protocol Implementation Out-of-process AAD auth helper integration

Copyright 2023 Isaac Klein fifth.nosp@m.degr.nosp@m.ee@pr.nosp@m.oton.nosp@m.mail..nosp@m.com Copyright 2026 David Fort conta.nosp@m.ct@h.nosp@m.arden.nosp@m.ing-.nosp@m.consu.nosp@m.ltin.nosp@m.g.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition at line 29 of file sdl_aad_helper.hpp.

Constructor & Destructor Documentation

◆ SdlAadAuthHelper()

SdlAadAuthHelper::SdlAadAuthHelper ( AadAuthHelper *  helper)
explicit

Definition at line 42 of file sdl_aad_helper.cpp.

42 : _helper(helper)
43{
44}

◆ ~SdlAadAuthHelper()

SdlAadAuthHelper::~SdlAadAuthHelper ( )

Definition at line 46 of file sdl_aad_helper.cpp.

47{
48 stop();
49}

Member Function Documentation

◆ get()

AadAuthHelper * SdlAadAuthHelper::get ( ) const

Definition at line 60 of file sdl_aad_helper.cpp.

61{
62 return _helper;
63}

◆ stop()

void SdlAadAuthHelper::stop ( )

Definition at line 51 of file sdl_aad_helper.cpp.

52{
53 if (_helper)
54 {
55 aad_auth_helper_stop(_helper);
56 _helper = nullptr;
57 }
58}

The documentation for this class was generated from the following files: