ekinhbayar/gitamp

View on GitHub
src/Github/Token.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php declare(strict_types=1);

namespace ekinhbayar\GitAmp\Github;

class Token implements Credentials
{
    private string $token;

    public function __construct(string $token)
    {
        $this->token = $token;
    }

    public function getAuthenticationString(): string
    {
        return $this->token;
    }
}