Beispiel #1
0
 public PartnerApiRequest(
     IOrganizationToken organizationToken,
     IPartnerAccessToken partnerAccessToken,
     IEndpoint endpoint,
     ICurrentOrganization organization)
 {
     m_organizationToken  = organizationToken;
     m_partnerAccessToken = partnerAccessToken;
     m_endpoint           = endpoint;
     m_organization       = organization;
 }
 public PartnerApiRequestBuilder WithOrganizationToken(IOrganizationToken value)
 {
     m_organizationToken = value;
     return(this);
 }
 public MemoryCachedOrganizationTokenBuilder WithOrganization(IOrganizationToken value)
 {
     m_organization = value;
     return(this);
 }
Beispiel #4
0
 public MemoryCachedOrganizationToken(IOrganizationToken decorated)
 {
     m_decorated            = decorated;
     m_organizationMappings = new Dictionary <string, string>();
 }